public interface ResourceContent
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Gets the bytes.
|
InputStream |
getInputStream()
Retrieves an input stream to the resource content.
|
Reader |
getReader()
Gets the reader for the resource content.
|
Resource |
getResource()
A link back to the resource of which this content is a part.
|
String |
getStringContent()
Returns the String content for the resource.
|
Resource getResource()
byte[] getBytes()
throws IOException
IOExceptionInputStream getInputStream() throws IOException
IOException - Signals that an I/O exception has occurred.Reader getReader() throws IOException
IOException - Signals that an I/O exception has occurred.String getStringContent() throws IOException
IOException - Signals that an I/O exception has occurred.Copyright © 2005–2016 Alfresco Software. All rights reserved.