| Package | Description |
|---|---|
| com.fangcloud.sdk | |
| com.fangcloud.sdk.api.file | |
| com.fangcloud.sdk.api.folder | |
| com.fangcloud.sdk.api.item |
| Modifier and Type | Method and Description |
|---|---|
YfyFile |
YfyBaseClient.YfyInternalClient.doUpload(String uploadUrl,
InputStream fileStream,
long fileSize,
YfyProgressListener progressListener) |
| Modifier and Type | Method and Description |
|---|---|
YfyFile |
YfyFileRequest.copyFile(long fileId,
long targetFolderId)
Copy the specific file to a folder
|
YfyFile |
YfyFileRequest.directUploadFile(long parentId,
String name,
InputStream fileStream)
Combine the
this#preSignatureUpload(long, String)
and this#uploadFile(String,InputStream) method, direct upload the file |
YfyFile |
YfyFileRequest.directUploadFile(long parentId,
String name,
String filePath)
Combine the
this#preSignatureUpload(long, String)
and this#uploadFile(String,InputStream) method, direct upload the file |
YfyFile |
YfyFileRequest.directUploadNewVersionFile(long fileId,
String name,
String remark,
InputStream fileStream)
Combine the
this#newVersionPreSignatureUpload(long,String,String)
and this#uploadFile(String,InputStream) method, direct upload the new version file |
YfyFile |
YfyFileRequest.directUploadNewVersionFile(long fileId,
String name,
String remark,
String filePath)
Combine the
this#newVersionPreSignatureUpload(long,String,String)
and this#uploadFile(String,InputStream) method, direct upload the new version file |
YfyFile |
YfyFileRequest.getFile(long fileId)
Retrieve file info
|
YfyFile |
YfyFileRequest.updateFile(long fileId,
String newName,
String newDescription)
Update fields in file, including file name and file description
|
YfyFile |
YfyFileRequest.uploadFile(String uploadUrl,
InputStream fileStream)
When get a file upload url, use this method to upload the file to the server
(note that real file name used name in pre signature arg)
|
YfyFile |
YfyFileRequest.uploadFile(String uploadUrl,
InputStream fileStream,
long fileSize,
YfyProgressListener progressListener)
When get a file upload url, use this method to upload the file to the server
(note that real file name used name in pre signature arg)
|
YfyFile |
YfyFileRequest.uploadFile(String uploadUrl,
String filePath)
When get a file upload url, use this method to upload the file to the server
(note that real file name used name in pre signature arg)
|
YfyFile |
YfyFileRequest.uploadFile(String uploadUrl,
String filePath,
long fileSize,
YfyProgressListener progressListener)
When get a file upload url, use this method to upload the file to the server
(note that real file name used name in pre signature arg)
|
| Modifier and Type | Method and Description |
|---|---|
List<YfyFile> |
GetChildrenResult.getFiles() |
| Modifier and Type | Method and Description |
|---|---|
void |
GetChildrenResult.setFiles(List<YfyFile> files) |
| Modifier and Type | Method and Description |
|---|---|
List<YfyFile> |
SearchItemResult.getFiles() |
| Modifier and Type | Method and Description |
|---|---|
void |
SearchItemResult.setFiles(List<YfyFile> files) |
Copyright © 2018 YiFangYun. All rights reserved.