org.apache.commons.collections.primitives.adapters.io
Class ByteIteratorInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byorg.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

Constructor Summary
ByteIteratorInputStream(ByteIterator in)
           
 
Method Summary
static 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
 

Constructor Detail

ByteIteratorInputStream

public ByteIteratorInputStream(ByteIterator in)
Method Detail

read

public int read()

adapt

public static InputStream adapt(ByteIterator in)


Copyright © 2002-2003 Apache Software Foundation. All Rights Reserved.