|
Secure iNet 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.SftpDeleteFileEvent
public final class SftpDeleteFileEvent
This event is fired when directory is deleted from server.
Constructor Summary | |
---|---|
SftpDeleteFileEvent(Sftp source,
java.lang.String file,
java.lang.String path)
Creates a new SftpDeleteFileEvent instance |
Method Summary | |
---|---|
void |
acceptListener(SftpListener listener)
The "backwards dispatching" support. |
java.lang.String |
getFile()
Gets name of the file deleted |
java.lang.String |
getPath()
Gets remote directory path that file was deleted 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 SftpDeleteFileEvent(Sftp source, java.lang.String file, java.lang.String path)
source
- the source of the eventfile
- the file deletedpath
- the directory path the file was deleted fromMethod Detail |
---|
public java.lang.String getPath()
public java.lang.String getFile()
public void acceptListener(SftpListener listener)
acceptListener
in class SftpEvent
listener
- the event listener
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |