public interface RProjectDirectoryCalls
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
downloadFiles()
Download all files from project directory.
|
java.io.InputStream |
downloadFiles(java.util.List<java.lang.String> files)
Download files from project directory.
|
java.util.List<RProjectFile> |
listFiles()
List files in project directory.
|
RProjectFile |
loadFile(RRepositoryFile file)
Load file in user repository into project directory.
|
RProjectFile |
transferFile(java.net.URL url,
DirectoryUploadOptions options)
Transfer file to project directory.
|
RProjectFile |
uploadFile(java.io.InputStream fileStream,
DirectoryUploadOptions options)
Upload file to project directory.
|
RProjectFile |
writeFile(java.lang.String text,
DirectoryUploadOptions options)
Write file to project directory.
|
java.util.List<RProjectFile> listFiles() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RProjectFile uploadFile(java.io.InputStream fileStream, DirectoryUploadOptions options) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RProjectFile transferFile(java.net.URL url, DirectoryUploadOptions options) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RProjectFile writeFile(java.lang.String text, DirectoryUploadOptions options) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.RProjectFile loadFile(RRepositoryFile file) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.java.io.InputStream downloadFiles() throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.java.io.InputStream downloadFiles(java.util.List<java.lang.String> files) throws RClientException, RSecurityException
RClientException
- if RClient fails to complete call.RSecurityException
- if DeployR server security conditions not met on call.