public static interface DirectoryCleaner.PathSelector
| Modifier and Type | Method and Description |
|---|---|
int |
comparePaths(DirectoryCleaner.PathStats path1,
DirectoryCleaner.PathStats path2)
Returns the preferred sorting order to delete paths.
|
Iterable<Path> |
getCandidatesToDelete(Path rootPath) |
Iterable<Path> getCandidatesToDelete(Path rootPath) throws IOException
IOExceptionint comparePaths(DirectoryCleaner.PathStats path1, DirectoryCleaner.PathStats path2)