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
IOException
int comparePaths(DirectoryCleaner.PathStats path1, DirectoryCleaner.PathStats path2)