|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
org.apache.commons.collections.primitives.adapters.io.ByteIteratorInputStream
public class ByteIteratorInputStream
Adapts an ByteIterator
to the InputStream
interface.
Field Summary | |
---|---|
private ByteIterator |
iterator
|
Constructor Summary | |
---|---|
ByteIteratorInputStream(ByteIterator in)
|
Method Summary | |
---|---|
static java.io.InputStream |
adapt(ByteIterator in)
|
int |
read()
|
Methods inherited from class java.io.InputStream |
---|
available, close, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private ByteIterator iterator
Constructor Detail |
---|
public ByteIteratorInputStream(ByteIterator in)
Method Detail |
---|
public int read()
read
in class java.io.InputStream
public static java.io.InputStream adapt(ByteIterator in)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |