|
Secure FTP Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.filetransfer.FileTransferRemoteSort.FileDateComparator
public static class FileTransferRemoteSort.FileDateComparator
Sorts files by date.
Constructor Summary | |
---|---|
FileTransferRemoteSort.FileDateComparator()
|
Method Summary | |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares files for sorting. |
boolean |
equals(java.lang.Object obj)
equals. |
boolean |
getAscendent()
Gets the ascendet value. |
void |
setAscendent(boolean ascendent)
Sets the ascendet indicator. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileTransferRemoteSort.FileDateComparator()
Method Detail |
---|
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
o1
- The first file will be comparedo2
- The second file will be compared
public void setAscendent(boolean ascendent)
ascendent
- The new indicator valuepublic boolean getAscendent()
public boolean equals(java.lang.Object obj)
equals
in interface java.util.Comparator
equals
in class java.lang.Object
obj
- Object
|
Secure FTP Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |