public interface ContentStream
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName() |
long |
getLength() |
String |
getMimeType() |
InputStream |
getStream()
Deprecated.
|
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.
|
String getFileName()
long getLength()
String getMimeType()
InputStream getStream()
void write(Writer writer) throws IOException
writer - IOExceptionvoid write(Writer writer, String encoding) throws IOException
writer - encoding - IOExceptionvoid output(OutputStream output) throws IOException
output - IOExceptionCopyright © 2005–2014 Alfresco Software. All rights reserved.