org.iids.aos.util
Class ReaderInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.iids.aos.util.ReaderInputStream
All Implemented Interfaces:
java.io.Closeable

public class ReaderInputStream
extends java.io.InputStream

InputStream wrapper for Reader classes. Kind of like the same as InputStreamReader but then the other way round :) For backwards compatibility mostly.

Author:
rjtimmer

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


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.