|
ozone core API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Factory pattern for creating streams which are 'inserted' into the serialization-to-stream process. Can be used for compression, encoding, buffering, etc.
Method Summary | |
java.io.InputStream |
createInputStream(java.io.InputStream in)
Creates an input stream that uses the given InputStream
for its input. |
java.io.OutputStream |
createOutputStream(java.io.OutputStream out)
Creates an output stream that uses the given OutputStream
as its output. |
Method Detail |
public java.io.OutputStream createOutputStream(java.io.OutputStream out) throws java.io.IOException
Creates an output stream that uses the given OutputStream
as its output.
out
- stream to use for output
java.io.IOException
public java.io.InputStream createInputStream(java.io.InputStream in) throws java.io.IOException
Creates an input stream that uses the given InputStream
for its input.
in
- stream to use for input
java.io.IOException
|
ozone core API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |