public interface FileClient
Modifier and Type | Method and Description |
---|---|
File |
copy(String id,
String parentId,
String name) |
File |
create(String name,
String parentId,
InputStream content) |
SharedLink |
createShareLink(String id,
SharedLinkAccess access,
Date unshareDate,
SharedLinkPermissions permissions) |
void |
delete(String id) |
InputStream |
download(String id) |
File |
get(String id,
List<String> fields) |
String |
getDownloadUrl(String id) |
URL |
getPreviewLink(String id) |
InputStream |
getThumbnail(String fileId,
ThumbnailType thumbnailType,
Integer minWidth,
Integer minHeight,
Integer maxWidth,
Integer maxHeight) |
File |
update(String id,
FileInput input) |
File |
update(String id,
InputStream content,
Date modified) |
InputStream download(String id)
File create(String name, String parentId, InputStream content)
void delete(String id)
File update(String id, InputStream content, Date modified)
InputStream getThumbnail(String fileId, ThumbnailType thumbnailType, Integer minWidth, Integer minHeight, Integer maxWidth, Integer maxHeight)
SharedLink createShareLink(String id, SharedLinkAccess access, Date unshareDate, SharedLinkPermissions permissions)
Copyright © 2010–2016. All rights reserved.