public class SftpErrorEvent extends SftpEvent
Constructor and Description |
---|
SftpErrorEvent(Sftp source,
java.lang.String fileName,
java.lang.String path,
java.lang.String localPath,
int mode)
Creates a new event instance.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SftpListener listener)
The "backwards dispatching" support.
|
java.lang.String |
getFilename()
Obtains the file name.
|
java.lang.String |
getLocalPath()
Returns local file path.
|
int |
getMode()
Obtains the file size.
|
java.lang.String |
getPath()
Gets path that this file was transferred to/from
|
public SftpErrorEvent(Sftp source, java.lang.String fileName, java.lang.String path, java.lang.String localPath, int mode)
source
- the source of the eventfileName
- the file namepath
- the remote path the file was uploaded tolocalPath
- the local file pathmode
- the transfer modepublic java.lang.String getFilename()
public java.lang.String getPath()
public java.lang.String getLocalPath()
public int getMode()
public void accept(SftpListener listener)
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved