protected class JCRLocalCMISDrive.DocumentContent extends Object implements org.exoplatform.clouddrive.viewer.ContentReader
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.chemistry.opencmis.commons.data.ContentStream |
content
The content.
|
protected String |
fileName
The file name.
|
protected long |
length
The length.
|
protected String |
type
The type.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DocumentContent(org.apache.chemistry.opencmis.commons.data.ContentStream content,
String type,
String fileName)
Instantiates a new document content.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
String |
getMimeType() |
InputStream |
getStream() |
String |
getTypeMode() |
protected final org.apache.chemistry.opencmis.commons.data.ContentStream content
protected final String type
protected final long length
protected final String fileName
public InputStream getStream()
getStream in interface org.exoplatform.clouddrive.viewer.ContentReaderpublic String getMimeType()
getMimeType in interface org.exoplatform.clouddrive.viewer.ContentReaderpublic String getTypeMode()
getTypeMode in interface org.exoplatform.clouddrive.viewer.ContentReaderpublic long getLength()
getLength in interface org.exoplatform.clouddrive.viewer.ContentReaderCopyright © 2003–2018 eXo Platform SAS. All rights reserved.