public class SftpUploadEvent extends SftpTransferCompleteEvent
Constructor and Description |
---|
SftpUploadEvent(Sftp source,
java.lang.String fileName,
java.lang.String path,
java.lang.String localPath,
long fileSize,
long uploadTime)
Creates a new event instance.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SftpListener listener)
The "backwards dispatching" support.
|
getFilename, getFilesize, getLocalPath, getPath, getTime
public SftpUploadEvent(Sftp source, java.lang.String fileName, java.lang.String path, java.lang.String localPath, long fileSize, long uploadTime)
source
- the source of the eventfileName
- the file namepath
- the remote path the file was uploaded tolocalPath
- the local file pathfileSize
- the file size in bytesuploadTime
- total download timepublic void accept(SftpListener listener)
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved