edu.tum.cs.commons.filesystem
Class FilenameComparator
java.lang.Object
edu.tum.cs.commons.filesystem.FilenameComparator
- All Implemented Interfaces:
- Comparator<File>
public class FilenameComparator
- extends Object
- implements Comparator<File>
Compares files based on the lexical order of their fully qualified names.
Files must not be null.
- Version:
- $Rev: 26268 $
- Author:
- juergens, $Author: juergens $
- Rating:
- GREEN Hash: 58C92A2D888E51D9684AE5394A7D3FDF
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilenameComparator
public FilenameComparator()
compare
public int compare(File file1,
File file2)
-
- Specified by:
compare in interface Comparator<File>
TUM CCSM Commons - 2.7