FileDocCategorySizeDatePackage
ReaderInputStream.javaAPI DocApache James 2.3.11777Fri Jan 12 12:56:24 GMT 2007org.apache.james.fetchmail

ReaderInputStream

public class ReaderInputStream extends InputStream
Simple class to allow a cast from a java.io.Reader to a java.io.InputStream $Id: ReaderInputStream.java 494012 2007-01-08 10:23:58Z norman $

Fields Summary
private Reader
reader
Constructors Summary
public ReaderInputStream(Reader reader)

       
        this.reader = reader;
    
Methods Summary
public intread()

see
java.io.InputStream#read()

        return reader.read();