public interface IDeploymentService
Modifier and Type | Method and Description |
---|---|
IFuture<Void> |
deleteFile(String path)
Delete a file.
|
ISubscriptionIntermediateFuture<Long> |
downloadFile(IOutputConnection con,
String name)
Download a file.
|
IFuture<FileData[]> |
getRoots()
Get the root devices.
|
IFuture<FileData[]> |
listDirectory(String dir)
List the contents of a directory.
|
IFuture<Void> |
openFile(String path)
Open a file.
|
IFuture<String> |
renameFile(String path,
String name)
Rename a file.
|
ISubscriptionIntermediateFuture<Long> |
uploadFile(IInputConnection con,
String path,
String name)
Put a file.
|
ISubscriptionIntermediateFuture<Long> uploadFile(IInputConnection con, String path, String name)
file
- The file data.path
- The target path.ISubscriptionIntermediateFuture<Long> downloadFile(IOutputConnection con, String name)
file
- The file data.path
- The target path.IFuture<String> renameFile(String path, String name)
path
- The target path.name
- The name.IFuture<Void> deleteFile(String path)
path
- The target path.Copyright © 2013. All Rights Reserved.