Class FileNameComparator
- All Implemented Interfaces:
Comparator<File>
Compares filenames, so directory listings appear in a kind of natural order.
- Since:
- 4.3
- Author:
- Gerrit van Brakel
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractNameComparator
compareNames, compareStringsNaturalOrder, getNextIndex, skipWhitespaceMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
FileNameComparator
public FileNameComparator()
-
-
Method Details
-
compareFilenames
-
compare
-