|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceContent
Interface to describe content around a Resource.
Method Summary | |
---|---|
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 |
long |
getTimestamp()
Returns the timestamp when this content convenience instance was created |
Method Detail |
---|
Resource getResource()
long getTimestamp()
byte[] getBytes() throws IOException
IOException
InputStream 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |