Modifier and Type | Field and Description |
---|---|
static HierarchicalFilePathComparator |
CASE_INSENSITIVE |
static HierarchicalFilePathComparator |
CASE_SENSITIVE |
static HierarchicalFilePathComparator |
NATURAL |
static HierarchicalFilePathComparator |
SYSTEM_CASE_SENSITIVE |
Modifier and Type | Method and Description |
---|---|
int |
compare(FilePath filePath1,
FilePath filePath2) |
protected int |
compareFileNames(java.lang.String name1,
java.lang.String name2)
NB: Overriding methods should not return 0, if base method does not.
|
public static final HierarchicalFilePathComparator CASE_SENSITIVE
public static final HierarchicalFilePathComparator CASE_INSENSITIVE
public static final HierarchicalFilePathComparator SYSTEM_CASE_SENSITIVE
public static final HierarchicalFilePathComparator NATURAL
public int compare(FilePath filePath1, FilePath filePath2)
compare
in interface java.util.Comparator<FilePath>
protected int compareFileNames(java.lang.String name1, java.lang.String name2)