T - the type this StreamConsumer produces as a result, see getResult()public static interface Command.StreamConsumer<T>
InputStream.| Modifier and Type | Method and Description |
|---|---|
void |
consume(InputStream is)
Consumes the given
InputStream. |
T |
getResult()
Returns the result for this
StreamConsumer. |
void consume(InputStream is) throws IOException
InputStream.is - the InputStream to consumeIOException - if an error occurs while consumingT getResult()
StreamConsumer.<T>Copyright © 2011–2020 aiticon GmbH. All rights reserved.