public final class InputStreamIterator extends InputStream
InputStream
that wraps an Iterator
which reads iterations as byte array data.Constructor and Description |
---|
InputStreamIterator(org.apache.camel.TypeConverter converter,
Iterator it) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
read() |
close, mark, markSupported, read, read, reset, skip
public InputStreamIterator(org.apache.camel.TypeConverter converter, Iterator it)
public int read() throws IOException
read
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
Apache Camel