public class FileNameComparator
extends java.lang.Object
implements java.util.Comparator<java.io.File>
Comparator
implementation to compare to File
-objects by name.
Both filenames are converted to lower case using the system's default Locale
before they are actually
compared with each other.
Constructor and Description |
---|
FileNameComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.io.File f1,
java.io.File f2) |
Copyright © 2015. All Rights Reserved.