public class ContentStreamImpl extends ContentImpl implements ContentStream
fileName, length, mimeType
Constructor and Description |
---|
ContentStreamImpl()
Instantiates a new content stream impl.
|
ContentStreamImpl(InputStream stream,
String mimetype,
long length)
Instantiates a new content stream impl.
|
ContentStreamImpl(String fileName,
org.apache.chemistry.opencmis.commons.data.ContentStream content)
Internal : transform cmis content stream object into alfresco sdk content
stream.
|
ContentStreamImpl(String fileName,
InputStream stream,
String mimetype,
long length)
Instantiates a new content stream impl.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream()
Gets the input stream.
|
getFileName, getLength, getMimeType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFileName, getLength, getMimeType
public ContentStreamImpl()
public ContentStreamImpl(String fileName, org.apache.chemistry.opencmis.commons.data.ContentStream content)
fileName
- the file namecontent
- the contentpublic ContentStreamImpl(String fileName, InputStream stream, String mimetype, long length)
fileName
- the file namestream
- the streammimetype
- the mimetypelength
- the lengthpublic ContentStreamImpl(InputStream stream, String mimetype, long length)
stream
- the streammimetype
- the mimetypelength
- the lengthpublic InputStream getInputStream()
getInputStream
in interface ContentStream
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.