public interface FileTransfer
| Modifier and Type | Method and Description |
|---|---|
void |
download(String remotePath,
LocalDestFile localFile)
Download
remotePath to localFile. |
void |
download(String remotePath,
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,
String remotePath)
Upload
localFile to remotePath. |
void |
upload(String localPath,
String remotePath)
This is meant to delegate to
upload(LocalSourceFile, String) with the localPath wrapped as e.g. |
void upload(String localPath, String remotePath) throws IOException
upload(LocalSourceFile, String) with the localPath wrapped as e.g.
a FileSystemFile.localPath - remotePath - IOExceptionvoid download(String remotePath, String localPath) throws IOException
download(String, LocalDestFile) with the localPath wrapped as e.g.
a FileSystemFile.localPath - remotePath - IOExceptionvoid upload(LocalSourceFile localFile, String remotePath) throws IOException
localFile to remotePath.localFile - remotePath - IOExceptionvoid download(String remotePath, LocalDestFile localFile) throws IOException
remotePath to localFile.localFile - remotePath - IOExceptionTransferListener getTransferListener()
void setTransferListener(TransferListener listener)
Copyright © 2009–2014. All rights reserved.