|
Secure FTP Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jscape.filetransfer.FileTransferRemoteComparator
com.jscape.filetransfer.FileTransferRemoteSort.FileNameComparator
Sorts files by name.
| Constructor Summary | |
FileTransferRemoteSort.FileNameComparator()
|
|
| Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares the file name of both FileTransferRemoteFile arguments. |
boolean |
equals(java.lang.Object obj)
|
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.FileNameComparator()
| Method Detail |
public int compare(java.lang.Object o1,
java.lang.Object o2)
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
|
Secure FTP Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||