|
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.inet.ftp.FtpEvent
com.jscape.inet.ftp.FtpUploadEvent
public class FtpUploadEvent
Fired when file is uploaded to FTP server.
Constructor Summary | |
---|---|
FtpUploadEvent(java.lang.Object source,
java.lang.String filename,
java.lang.String path,
java.lang.String localPath,
long size,
long time)
Creates FtpUploadEvent. |
Method Summary | |
---|---|
void |
accept(FtpListener listener)
Event is accepted by listener |
java.lang.String |
getFilename()
Gets name of file uploaded. |
java.lang.String |
getLocalPath()
Return local file path. |
java.lang.String |
getPath()
Gets remote directory path that file was uploaded to |
long |
getSize()
Gets total bytes transmitted |
long |
getTime()
Gets total time to transfer file measured in milliseconds |
java.lang.String |
toString()
Gets String equivalent of this event. |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FtpUploadEvent(java.lang.Object source, java.lang.String filename, java.lang.String path, java.lang.String localPath, long size, long time)
source
- the source of the eventfilename
- the file uploadedpath
- the remote directory path flie was uploaded tolocalPath
- the the local file pathsize
- the size of the file uploadedtime
- the time to upload file in millisecondsMethod Detail |
---|
public java.lang.String getFilename()
public java.lang.String getPath()
public java.lang.String getLocalPath()
public long getSize()
public long getTime()
public void accept(FtpListener listener)
FtpEvent
accept
in class FtpEvent
public java.lang.String toString()
toString
in class java.util.EventObject
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |