|
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.SftpCreateDirEvent
public final class SftpCreateDirEvent
This event is fired when a directory is created on the server.
Constructor Summary | |
---|---|
SftpCreateDirEvent(Sftp source,
java.lang.String dir,
java.lang.String path)
Creates a new SftpCreateDirEvent instance. |
Method Summary | |
---|---|
void |
acceptListener(SftpListener listener)
The "backwards dispatching" support. |
java.lang.String |
getDirectory()
Gets the name of the directory created. |
java.lang.String |
getPath()
Gets the remote directory path this directory was created 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 SftpCreateDirEvent(Sftp source, java.lang.String dir, java.lang.String path)
source
- the source of this eventdir
- the directory createdpath
- the remote directory path this directory was created fromMethod Detail |
---|
public java.lang.String getDirectory()
public java.lang.String getPath()
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 |