public String getContentStreamMimeType() returns the content
stream MIME type or null if the document has no content.
Parameters
None
Returns
Returns a String representing the content stream MIME type, or null if the document has no content.
Example
Document doc = getTestDocument(session); Log.d(TAG, "getContentStreamLength: " + doc.getContentStreamLength()); Log.d(TAG, "getContentStreamMimeType: " + doc.getContentStreamMimeType()); Log.d(TAG, "getVersionLabel: " + doc.getVersionLabel()); Log.d(TAG, "isLatestVersion: " + doc.isLatestVersion());
Would result in the following output:
getContentStreamLength: 1384691 getContentStreamMimeType: image/jpeg getVersionLabel: 1.0 isLatestVersion: true