public class FtpErrorEvent extends FtpEvent
Constructor and Description |
---|
FtpErrorEvent(java.lang.Object source,
java.lang.String filename,
java.lang.String path,
java.lang.String localPath,
int mode)
Creates FtpUploadEvent.
|
Modifier and Type | Method and Description |
---|---|
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.
|
long |
getMode()
Gets total bytes transmitted
|
java.lang.String |
getPath()
Gets remote directory path that file was uploaded to
|
java.lang.String |
toString()
Gets String equivalent of this event.
|
public FtpErrorEvent(java.lang.Object source, java.lang.String filename, java.lang.String path, java.lang.String localPath, int mode)
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 millisecondspublic java.lang.String getFilename()
public java.lang.String getPath()
public java.lang.String getLocalPath()
public long getMode()
public void accept(FtpListener listener)
FtpEvent
public java.lang.String toString()
toString
in class java.util.EventObject
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved