|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileTransfer
Method Summary | |
---|---|
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. |
Method Detail |
---|
void upload(String localPath, String remotePath) throws IOException
upload(LocalSourceFile, String)
with the localPath
wrapped as e.g.
a FileSystemFile
.
localPath
- remotePath
-
IOException
void download(String remotePath, String localPath) throws IOException
download(String, LocalDestFile)
with the localPath
wrapped as e.g.
a FileSystemFile
.
localPath
- remotePath
-
IOException
void upload(LocalSourceFile localFile, String remotePath) throws IOException
localFile
to remotePath
.
Attributes will be set on remotePath
based on the localFile
.
localFile
- remotePath
-
IOException
void download(String remotePath, LocalDestFile localFile) throws IOException
remotePath
to localFile
.
Attributes will be set on localFile
based on the remotePath
's attributes.
localFile
- remotePath
-
IOException
TransferListener getTransferListener()
void setTransferListener(TransferListener listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |