public class DownloadFilesExample extends Object
Constructor and Description |
---|
DownloadFilesExample(APISession apiSession)
Creates an instances of the DownloadFilesExample class
|
Modifier and Type | Method and Description |
---|---|
void |
downloadFileById(String docId,
int roomId,
String destinationPath,
String destinationDocName)
DownloadFileById
|
void |
downloadFileByName(int roomId,
String folderPath,
String docName,
String destinationPath,
String destinationDocName)
DownloadFileByName
|
byte[] |
downloadFileToBuffer(String docId)
DownloadFileToBuffer
|
void |
downloadProtectedFileById(String docId,
String destinationPath,
String docName)
Download the protected version of the document with the given Id to the destination path.
|
public DownloadFilesExample(APISession apiSession)
apiSession
- An ApiSession instance to be used.public void downloadFileById(String docId, int roomId, String destinationPath, String destinationDocName)
docId
- roomId
- destinationPath
- destinationDocName
- public void downloadFileByName(int roomId, String folderPath, String docName, String destinationPath, String destinationDocName)
roomId
- folderPath
- docName
- destinationPath
- destinationDocName
- public byte[] downloadFileToBuffer(String docId)
docId
- Copyright © 2019. All rights reserved.