public class NuxeoContentStream extends Object implements org.apache.chemistry.opencmis.commons.data.CacheHeaderContentStream, org.apache.chemistry.opencmis.commons.data.LastModifiedContentStream
ContentStream
, backed by a
Blob
.Constructor and Description |
---|
NuxeoContentStream(Blob blob,
GregorianCalendar lastModified) |
Modifier and Type | Method and Description |
---|---|
BigInteger |
getBigLength() |
String |
getCacheControl() |
String |
getETag() |
GregorianCalendar |
getExpires() |
List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> |
getExtensions() |
String |
getFileName() |
GregorianCalendar |
getLastModified() |
long |
getLength() |
String |
getMimeType() |
InputStream |
getStream() |
void |
setExtensions(List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions) |
public NuxeoContentStream(Blob blob, GregorianCalendar lastModified)
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
public String getCacheControl()
getCacheControl
in interface org.apache.chemistry.opencmis.commons.data.CacheHeaderContentStream
public String getETag()
getETag
in interface org.apache.chemistry.opencmis.commons.data.CacheHeaderContentStream
public GregorianCalendar getExpires()
getExpires
in interface org.apache.chemistry.opencmis.commons.data.CacheHeaderContentStream
public GregorianCalendar getLastModified()
getLastModified
in interface org.apache.chemistry.opencmis.commons.data.LastModifiedContentStream
Copyright © 2014 Nuxeo SA. All rights reserved.