|
Secure FTP Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.sftp.events.SftpEvent
com.jscape.inet.sftp.events.SftpRenameFileEvent
public final class SftpRenameFileEvent
This event is fired when directory is deleted from server.
Constructor Summary | |
---|---|
SftpRenameFileEvent(Sftp source,
java.lang.String oldFile,
java.lang.String newFile,
java.lang.String path)
Creates a new SftpRenameFileEvent instance |
Method Summary | |
---|---|
void |
acceptListener(SftpListener listener)
The "backwards dispatching" support. |
java.lang.String |
getNewFile()
Gets new file name |
java.lang.String |
getOldFile()
Gets old file name |
java.lang.String |
getPath()
Gets remote directory path file was renamed from. |
Methods inherited from class com.jscape.inet.sftp.events.SftpEvent |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SftpRenameFileEvent(Sftp source, java.lang.String oldFile, java.lang.String newFile, java.lang.String path)
source
- the event sourceoldFile
- the old file namenewFile
- the new file nameMethod Detail |
---|
public java.lang.String getOldFile()
public java.lang.String getNewFile()
public java.lang.String getPath()
public void acceptListener(SftpListener listener)
acceptListener
in class SftpEvent
listener
- the event listener
|
Secure FTP Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |