|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamHandler
Provides access to streams to read from and write to a destination. This is a simple method to abstract access to the file system.
Method Summary | |
---|---|
InputStream |
openToRead(String resourceId) Opens a stream to the given resource for reading. |
OutputStream |
openToWrite(String resourceId) Opens a stream to the given resource for writing. |
Method Detail |
---|
InputStream openToRead(String resourceId) throws IOException
resourceId
- the identifier of the resource that should be opened.
IOException
- on any problem opening the resource.
OutputStream openToWrite(String resourceId) throws IOException
resourceId
- the identifier of the resource that should be opened.
IOException
- on any problem opening the resource.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |