public class NuxeoContentStream extends Object implements org.apache.chemistry.opencmis.commons.data.ContentStream
ContentStream
, backed by a
Blob
.Constructor and Description |
---|
NuxeoContentStream(Blob blob) |
Modifier and Type | Method and Description |
---|---|
BigInteger |
getBigLength() |
List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> |
getExtensions() |
String |
getFileName() |
long |
getLength() |
String |
getMimeType() |
InputStream |
getStream() |
void |
setExtensions(List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions) |
public NuxeoContentStream(Blob blob)
public long getLength()
getLength
in interface org.apache.chemistry.opencmis.commons.data.ContentStream
public BigInteger getBigLength()
getBigLength
in interface org.apache.chemistry.opencmis.commons.data.ContentStream
public String getMimeType()
getMimeType
in interface org.apache.chemistry.opencmis.commons.data.ContentStream
public String getFileName()
getFileName
in interface org.apache.chemistry.opencmis.commons.data.ContentStream
public InputStream getStream()
getStream
in interface org.apache.chemistry.opencmis.commons.data.ContentStream
public List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> getExtensions()
getExtensions
in interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
public void setExtensions(List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions)
setExtensions
in interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
Copyright © 2013 Nuxeo SA. All Rights Reserved.