public class DocumentImpl extends Object implements Document
| Modifier and Type | Method and Description |
|---|---|
static Document |
createDocument(org.json.JSONObject jsonObject) |
String |
getFileId()
Gets the Unique Identifier for this file
|
String |
getFileName()
Gets the file name of the document
|
String |
getMimeType()
Gets the mimetype of the file, can be null
|
int |
getSize()
Gets the size of the file
|
PhotoSize |
getThumbnail()
Gets the PhotoSize object relating to the thumbnail for the file, can be null
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdownloadFile, getFileDownloadLinkpublic static Document createDocument(org.json.JSONObject jsonObject)
public String getFileId()
public int getSize()
public String getMimeType()
MimetypeablegetMimeType in interface Mimetypeablepublic PhotoSize getThumbnail()
ThumbnailablegetThumbnail in interface Thumbnailablepublic String getFileName()
DocumentgetFileName in interface DocumentCopyright © 2017. All rights reserved.