|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.loggers.FileComparator
public class FileComparator
This class implements a comparator that can compare two files based on the time that they were last modified.
| Constructor Summary | |
|---|---|
FileComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(java.io.File o1,
java.io.File o2)
Compare two files based on file modification time. |
| 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 o1,
java.io.File o2)
compare in interface java.util.Comparator<java.io.File>o1 - The first file to be compared.o2 - The second file to be compared.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||