Class FileNameComparator

  • All Implemented Interfaces:
    Comparator<File>

    public class FileNameComparator
    extends Object
    implements Comparator<File>
    Comparator sorting files by filename. Intended to be used for comparing sibling files (i.e. files within the same folder).