public class SftpDownloadEvent extends SftpTransferCompleteEvent
Constructor and Description |
---|
SftpDownloadEvent(Sftp source,
java.lang.String fileName,
java.lang.String path,
java.lang.String localPath,
long fileSize,
long downloadTime)
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 SftpDownloadEvent(Sftp source, java.lang.String fileName, java.lang.String path, java.lang.String localPath, long fileSize, long downloadTime)
source
- the source of the eventfileName
- the file namepath
- the remote path the file was downloaded fromlocalPath
- the local file pathfileSize
- the file size in bytesdownloadTime
- total download timepublic void accept(SftpListener listener)
Copyright © JSCAPE LLC. 1999-2023. All Rights Reserved