Comparator implementations
for Files.See: Description
| Class | Description |
|---|---|
| DefaultFileComparator |
Compare two files using the default
File.compareTo(File) method. |
| ExtensionFileComparator |
Compare the file name extensions for order
(see
FilenameUtils.getExtension(String)). |
| LastModifiedFileComparator |
Compare the last modified date/time of two files for order
(see
File.lastModified()). |
| NameFileComparator |
Compare the names of two files for order (see
File.getName()). |
| PathFileComparator |
Compare the path of two files for order (see
File.getPath()). |
| ReverseComparator |
Reverses the result of comparing two objects using
the delegate
Comparator. |
| SizeFileComparator |
Compare the length/size of two files for order (see
File.length() and FileUtils.sizeOfDirectory(File)). |
This package provides various Comparator implementations
for Files.
Copyright (c) 2002-2014 Apache Software Foundation