public abstract class AbstractDocumentContent extends Object implements DocumentContent
| Constructor and Description |
|---|
AbstractDocumentContent(String filename,
String mimeType) |
| Modifier and Type | Method and Description |
|---|---|
static DocumentContent |
getContent(org.apache.chemistry.opencmis.commons.data.ContentStream stream,
boolean includeContent)
Convert CMIS content stream to a DocumentContent object.
|
org.apache.chemistry.opencmis.commons.data.ContentStream |
getContentStream()
Get a CMIS content stream for the content.
|
String |
getFilename() |
BigInteger |
getLength()
Get the (byte) length of the content.
|
String |
getMimeType() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInputStreampublic String getMimeType()
public BigInteger getLength()
public String getFilename()
getFilename in interface DocumentContentpublic org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream()
getContentStream in interface DocumentContentpublic static DocumentContent getContent(org.apache.chemistry.opencmis.commons.data.ContentStream stream, boolean includeContent) throws IOException
stream - IOExceptionCopyright © 2015. All rights reserved.