it.sistematica.isharedoc.opencmis.indatabase.storedobj.impl
Class ContentStreamBasicDataImpl
java.lang.Object
it.sistematica.isharedoc.opencmis.indatabase.storedobj.impl.ContentStreamDataImpl
it.sistematica.isharedoc.opencmis.indatabase.storedobj.impl.ContentStreamBasicDataImpl
- All Implemented Interfaces:
- org.apache.chemistry.opencmis.commons.data.ContentStream, org.apache.chemistry.opencmis.commons.data.ExtensionsData, org.apache.chemistry.opencmis.commons.data.LastModifiedContentStream
public class ContentStreamBasicDataImpl
- extends ContentStreamDataImpl
- implements org.apache.chemistry.opencmis.commons.data.LastModifiedContentStream
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.chemistry.opencmis.commons.data.ExtensionsData |
getExtensions, setExtensions |
ContentStreamBasicDataImpl
public ContentStreamBasicDataImpl(DocumentContent fNativeVerObject)
setContent
public void setContent(org.apache.chemistry.opencmis.commons.data.ContentStream content)
throws java.io.IOException
- Overrides:
setContent in class ContentStreamDataImpl
- Throws:
java.io.IOException
setContent
public void setContent(java.io.InputStream in)
throws java.io.IOException
- Overrides:
setContent in class ContentStreamDataImpl
- Throws:
java.io.IOException
appendContent
public void appendContent(java.io.InputStream is)
throws java.io.IOException
- Overrides:
appendContent in class ContentStreamDataImpl
- Throws:
java.io.IOException
getLength
public long getLength()
- Specified by:
getLength in interface org.apache.chemistry.opencmis.commons.data.ContentStream- Overrides:
getLength in class ContentStreamDataImpl
getBigLength
public java.math.BigInteger getBigLength()
- Specified by:
getBigLength in interface org.apache.chemistry.opencmis.commons.data.ContentStream- Overrides:
getBigLength in class ContentStreamDataImpl
getMimeType
public java.lang.String getMimeType()
- Specified by:
getMimeType in interface org.apache.chemistry.opencmis.commons.data.ContentStream- Overrides:
getMimeType in class ContentStreamDataImpl
setMimeType
public void setMimeType(java.lang.String fMimeType)
- Overrides:
setMimeType in class ContentStreamDataImpl
getFileName
public java.lang.String getFileName()
- Specified by:
getFileName in interface org.apache.chemistry.opencmis.commons.data.ContentStream- Overrides:
getFileName in class ContentStreamDataImpl
setFileName
public void setFileName(java.lang.String fileName)
- Overrides:
setFileName in class ContentStreamDataImpl
getFilename
public java.lang.String getFilename()
- Overrides:
getFilename in class ContentStreamDataImpl
getStream
public java.io.InputStream getStream()
- Specified by:
getStream in interface org.apache.chemistry.opencmis.commons.data.ContentStream- Overrides:
getStream in class ContentStreamDataImpl
setLastModified
public void setLastModified(java.util.GregorianCalendar lastModified)
- Overrides:
setLastModified in class ContentStreamDataImpl
getLastModified
public java.util.GregorianCalendar getLastModified()
- Specified by:
getLastModified in interface org.apache.chemistry.opencmis.commons.data.LastModifiedContentStream- Overrides:
getLastModified in class ContentStreamDataImpl
getCloneWithLimits
public org.apache.chemistry.opencmis.commons.data.ContentStream getCloneWithLimits(long offset,
long length)
- Overrides:
getCloneWithLimits in class ContentStreamDataImpl