public interface StreamCallback
Modifier and Type | Method and Description |
---|---|
void |
process(java.io.InputStream in,
java.io.OutputStream out)
Provides a managed output stream for use.
|
void process(java.io.InputStream in, java.io.OutputStream out) throws java.io.IOException
in
- the stream to read bytes fromout
- the stream to write bytes tojava.io.IOException
- if issues occur reading or writing the underlying streams