public interface FileTransfer
| Modifier and Type | Method and Description |
|---|---|
void |
download(java.lang.String remotePath,
LocalDestFile localFile)
Download
remotePath to localFile. |
void |
download(java.lang.String remotePath,
java.lang.String localPath)
This is meant to delegate to
download(String, LocalDestFile) with the localPath wrapped as e.g. |
TransferListener |
getTransferListener() |
void |
setTransferListener(TransferListener listener) |
void |
upload(LocalSourceFile localFile,
java.lang.String remotePath)
Upload
localFile to remotePath. |
void |
upload(java.lang.String localPath,
java.lang.String remotePath)
This is meant to delegate to
upload(LocalSourceFile, String) with the localPath wrapped as e.g. |
void upload(java.lang.String localPath,
java.lang.String remotePath)
throws java.io.IOException
upload(LocalSourceFile, String) with the localPath wrapped as e.g.
a FileSystemFile.localPath - remotePath - java.io.IOExceptionvoid download(java.lang.String remotePath,
java.lang.String localPath)
throws java.io.IOException
download(String, LocalDestFile) with the localPath wrapped as e.g.
a FileSystemFile.localPath - remotePath - java.io.IOExceptionvoid upload(LocalSourceFile localFile, java.lang.String remotePath) throws java.io.IOException
localFile to remotePath.localFile - remotePath - java.io.IOExceptionvoid download(java.lang.String remotePath,
LocalDestFile localFile)
throws java.io.IOException
remotePath to localFile.localFile - remotePath - java.io.IOExceptionTransferListener getTransferListener()
void setTransferListener(TransferListener listener)