|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.utils.file.FileComparator
public class FileComparator
File name and type comparator. This comparator is used by some file components by default.
Constructor Summary | |
---|---|
FileComparator()
|
Method Summary | |
---|---|
int |
compare(java.io.File f1,
java.io.File f2)
Compares two files by their names and type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public FileComparator()
Method Detail |
---|
public int compare(java.io.File f1, java.io.File f2)
compare
in interface java.util.Comparator<java.io.File>
f1
- first file to be comparedf2
- second file to be compared
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |