org.apache.james.fetchpop
Class ReaderInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--org.apache.james.fetchpop.ReaderInputStream

public class ReaderInputStream
extends InputStream

Simple class to allow a cast from a java.io.Reader to a java.io.InputStream

$Id: ReaderInputStream.html,v 1.2 2002/12/30 05:36:55 noel Exp $

Author:
Danny Angus

Constructor Summary
ReaderInputStream(Reader reader)
           
 
Method Summary
 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

ReaderInputStream

public ReaderInputStream(Reader reader)
Method Detail

read

public int read()
         throws IOException
Specified by:
read in class InputStream
IOException
See Also:
InputStream.read()


"Copyright © 1999-2002 Apache Jakarta Project. All Rights Reserved."