public interface InputStreamConsumer<T>
Modifier and Type | Method and Description |
---|---|
void |
consume(java.io.InputStream is)
consumes the input stream.
|
T |
getResult()
Gets the Object created after consuming the InputStream
|
void consume(java.io.InputStream is) throws java.io.IOException
is
- The input stream to consume.java.io.IOException
T getResult()