org.apache.commons.collections.primitives.adapters.io
Class ByteIteratorInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.collections.primitives.adapters.io.ByteIteratorInputStream
- public class ByteIteratorInputStream
- extends InputStream
Adapts an ByteIterator
to the InputStream
interface.
- Version:
- $Revision: 1.1 $ $Date: 2003/10/13 22:46:58 $
- Author:
- Rodney Waldhoff
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iterator
private ByteIterator iterator
ByteIteratorInputStream
public ByteIteratorInputStream(ByteIterator in)
read
public int read()
adapt
public static InputStream adapt(ByteIterator in)
Copyright (c) 2002-2003 - Apache Software Foundation