org.apache.james.fetchmail
Class ReaderInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.apache.james.fetchmail.ReaderInputStream
All Implemented Interfaces:
java.io.Closeable

public class ReaderInputStream
extends java.io.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:58 +0000 (lun, 08 gen 2007) norman $


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

read

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


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.