|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.inmemory.storedobj.impl.ContentStreamDataImpl
public class ContentStreamDataImpl
Constructor Summary | |
---|---|
ContentStreamDataImpl(long maxAllowedContentSizeKB)
|
Method Summary | |
---|---|
BigInteger |
getBigLength()
Returns the length of stream. |
ContentStream |
getCloneWithLimits(long offset,
long length)
|
List<CmisExtensionElement> |
getExtensions()
|
String |
getFilename()
|
String |
getFileName()
Returns the file name of the stream. |
long |
getLength()
Returns the length of stream. |
String |
getMimeType()
Returns the MIME type of the stream. |
InputStream |
getStream()
Returns the stream. |
void |
setContent(InputStream in)
|
void |
setExtensions(List<CmisExtensionElement> extensions)
|
void |
setFileName(String fileName)
|
void |
setMimeType(String fMimeType)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentStreamDataImpl(long maxAllowedContentSizeKB)
Method Detail |
---|
public void setContent(InputStream in) throws IOException
IOException
public long getLength()
ContentStream
getLength
in interface ContentStream
-1
if the
length is unknownpublic BigInteger getBigLength()
ContentStream
getBigLength
in interface ContentStream
null
if the
length is unknownpublic String getMimeType()
ContentStream
getMimeType
in interface ContentStream
null
if the MIME type
is unknownpublic void setMimeType(String fMimeType)
public String getFileName()
ContentStream
getFileName
in interface ContentStream
null
if the file name
is unknownpublic void setFileName(String fileName)
public String getFilename()
public InputStream getStream()
ContentStream
getStream
in interface ContentStream
public ContentStream getCloneWithLimits(long offset, long length)
public List<CmisExtensionElement> getExtensions()
getExtensions
in interface ExtensionsData
public void setExtensions(List<CmisExtensionElement> extensions)
setExtensions
in interface ExtensionsData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |