Package org.apache.camel.support
Class InputStreamIterator
java.lang.Object
java.io.InputStream
org.apache.camel.support.InputStreamIterator
- All Implemented Interfaces:
Closeable
,AutoCloseable
An
InputStream
that wraps an Iterator
which reads iterations as byte array data.-
Constructor Summary
ConstructorsConstructorDescriptionInputStreamIterator
(org.apache.camel.TypeConverter converter, Iterator<?> it) -
Method Summary
Methods inherited from class java.io.InputStream
close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
InputStreamIterator
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-