| Package | Description |
|---|---|
| com.box.boxjavalibv2.requests | |
| com.box.boxjavalibv2.requests.requestobjects | |
| com.box.boxjavalibv2.resourcemanagers |
| Constructor and Description |
|---|
PreviewRequest(IBoxConfig config,
IBoxJSONParser parser,
String fileId,
String fileExtension,
BoxImageRequestObject requestObject)
Constructor.
|
ThumbnailRequest(IBoxConfig config,
IBoxJSONParser parser,
String fileId,
String fileExtension,
BoxImageRequestObject requestObject)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static BoxImageRequestObject |
BoxImageRequestObject.pagePreviewRequestObject(int page,
int minWidth,
int maxWidth,
int minHeight,
int maxHeight)
Get BoxImageRequestObject for a preview request with pages.
|
static BoxImageRequestObject |
BoxImageRequestObject.previewRequestObject()
Get BoxImageRequestObject for an image or preview request without pages.
|
BoxImageRequestObject |
BoxImageRequestObject.setMaxHeight(int maxHeight) |
BoxImageRequestObject |
BoxImageRequestObject.setMaxWidth(int maxWidth) |
BoxImageRequestObject |
BoxImageRequestObject.setMinHeight(int minHeight) |
BoxImageRequestObject |
BoxImageRequestObject.setMinWidth(int minWidth) |
BoxImageRequestObject |
BoxImageRequestObject.setPage(int page) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
BoxFilesManager.downloadThumbnail(String fileId,
String extension,
BoxImageRequestObject requestObject)
Get thumbnail of a file.
|
BoxPreview |
BoxFilesManager.getPreview(String fileId,
String extension,
BoxImageRequestObject requestObject)
Get preview of a file.
|
Copyright © 2014. All Rights Reserved.