org.apache.commons.collections.primitives.adapters.io
Class ByteIteratorInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.collections.primitives.adapters.io.ByteIteratorInputStream
- All Implemented Interfaces:
- Closeable
public class ByteIteratorInputStream
- extends InputStream
Adapts an ByteIterator
to the InputStream
interface.
- Version:
- $Revision: 480462 $ $Date: 2006-11-29 09:15:00 +0100 (Wed, 29 Nov 2006) $
- Author:
- Rodney Waldhoff
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteIteratorInputStream
public ByteIteratorInputStream(ByteIterator in)
read
public int read()
- Specified by:
read
in class InputStream
adapt
public static InputStream adapt(ByteIterator in)
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.