public class FileNameComparator extends Object implements Comparator<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() |
public int compare(File f1, File f2)
compare
in interface Comparator<File>
Copyright © 2015. All Rights Reserved.