|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resource
Generic interface to provide a Reader or InputStream for the underlying IO resource.
Method Summary | |
---|---|
InputStream |
getInputStream()
Open an InputStream to the resource, the user must close this when finished. |
Reader |
getReader()
Opens a Reader to the resource, the user most close this when finished. |
Method Detail |
---|
InputStream getInputStream() throws IOException
IOException
Reader getReader() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |