public class RecFileComparator extends java.lang.Object implements FileComparator
| Constructor and Description |
|---|
RecFileComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Object obj1,
java.lang.Object obj2)
Compares 2 NAR file names, as described in compareFiles(x,y).
|
int |
compareFiles(java.io.File file1,
java.io.File file2)
Compares 2 NAR files, based on their File names.
|
public int compareFiles(java.io.File file1,
java.io.File file2)
throws FileParseException
compareFiles in interface FileComparatorfile1 - First file namefile2 - Second file nameFileParseException - if the file name is improperly formattedpublic int compare(java.lang.Object obj1,
java.lang.Object obj2)
compare in interface java.util.Comparator