Package | Description |
---|---|
org.apache.commons.io.comparator |
This package provides various
Comparator implementations
for File s. |
Modifier and Type | Class and Description |
---|---|
class |
CompositeFileComparator
Compare two files using a set of delegate file
Comparator . |
class |
DefaultFileComparator
Compare two files using the default
File.compareTo(File) method. |
class |
DirectoryFileComparator
Compare two files using the
File.isDirectory() method. |
class |
ExtensionFileComparator
Compare the file name extensions for order
(see
FilenameUtils.getExtension(String) ). |
class |
LastModifiedFileComparator
Compare the last modified date/time of two files for order
(see
File.lastModified() ). |
class |
NameFileComparator
Compare the names of two files for order (see
File.getName() ). |
class |
PathFileComparator
Compare the path of two files for order (see
File.getPath() ). |
(package private) class |
ReverseComparator
Reverses the result of comparing two objects using
the delegate
Comparator . |
class |
SizeFileComparator
Compare the length/size of two files for order (see
File.length() and FileUtils.sizeOfDirectory(File) ). |