|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.jscape.filetransfer.FileTransferEvent
com.jscape.filetransfer.FileTransferRenameFileEvent
public class FileTransferRenameFileEvent
Fired when a file is renamed on server.
Constructor Summary | |
---|---|
FileTransferRenameFileEvent(java.lang.Object source,
java.lang.String oldFile,
java.lang.String newFile,
java.lang.String path)
Creates FileTransferRenameFileEvent . |
Method Summary | |
---|---|
void |
accept(FileTransferListener listener)
Accepts event via FileTransferListener. |
java.lang.String |
getNewFile()
Gets the new file name. |
java.lang.String |
getOldFile()
Gets the old file name. |
java.lang.String |
getPath()
Gets the remote directory path the file was renamed from. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileTransferRenameFileEvent(java.lang.Object source, java.lang.String oldFile, java.lang.String newFile, java.lang.String path)
FileTransferRenameFileEvent
.
source
- the source of the eventoldFile
- the file to be renamednewFile
- the new file namepath
- the remote directory path the file was renamed fromMethod Detail |
---|
public java.lang.String getPath()
public java.lang.String getOldFile()
public java.lang.String getNewFile()
public void accept(FileTransferListener listener)
accept
in class FileTransferEvent
listener
- the listener which receives event
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |