|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectappli.diff.FileCompar
Local class used as Comparator for file names, excluding a common root part for the two filenames
| Field Summary | |
(package private) int |
lenroot
|
(package private) java.lang.String |
root
|
| Constructor Summary | |
FileCompar(java.lang.String root)
Constructor |
|
| Method Summary | |
int |
compare(java.lang.Object f1,
java.lang.Object f2)
Compare method. |
| 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 |
| Field Detail |
java.lang.String root
int lenroot
| Constructor Detail |
public FileCompar(java.lang.String root)
root - the root part of the filenames, excluded from the comparison| Method Detail |
public int compare(java.lang.Object f1,
java.lang.Object f2)
compare in interface java.util.Comparatorf1 - first filename in the comparisonf2 - second filename in the comparison
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||