public class ContentStreamCmisRenditionImpl extends Object implements Rendition
| Constructor and Description |
|---|
ContentStreamCmisRenditionImpl(org.apache.chemistry.opencmis.client.api.Rendition cmisRendition) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName() |
long |
getHeight() |
long |
getLength() |
String |
getMimeType() |
InputStream |
getStream() |
long |
getWidth() |
void |
output(OutputStream output)
Streams the content from this stream into the supplied output stream.
|
void |
write(Writer writer)
Writes the content of this stream into the supplied Writer using UTF-8 encoding.
|
void |
write(Writer writer,
String encoding)
Writes the content of this stream into the supplied Writer using the specified character encoding.
|
public ContentStreamCmisRenditionImpl(org.apache.chemistry.opencmis.client.api.Rendition cmisRendition)
public String getFileName()
getFileName in interface ContentStreampublic long getLength()
getLength in interface ContentStreampublic String getMimeType()
getMimeType in interface ContentStreampublic InputStream getStream()
getStream in interface ContentStreampublic void output(OutputStream output) throws IOException
ContentStreamoutput in interface ContentStreamIOExceptionpublic void write(Writer writer) throws IOException
ContentStreamwrite in interface ContentStreamIOExceptionpublic void write(Writer writer, String encoding) throws IOException
ContentStreamwrite in interface ContentStreamIOExceptionCopyright © 2005–2014 Alfresco Software. All rights reserved.