fi.iki.hsivonen.io
Class NonBufferingAsciiInputStreamReader

java.lang.Object
  extended by java.io.Reader
      extended by fi.iki.hsivonen.io.NonBufferingAsciiInputStreamReader
All Implemented Interfaces:
Closeable, Readable

public class NonBufferingAsciiInputStreamReader
extends Reader

Version:
$Id: NonBufferingAsciiInputStreamReader.java,v 1.2 2005/08/14 07:41:34 hsivonen Exp $
Author:
hsivonen

Field Summary
private  InputStream stream
           
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
NonBufferingAsciiInputStreamReader(InputStream stream)
           
 
Method Summary
 void close()
           
 int read()
           
 int read(char[] buf, int off, int len)
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stream

private InputStream stream
Constructor Detail

NonBufferingAsciiInputStreamReader

public NonBufferingAsciiInputStreamReader(InputStream stream)
Parameters:
arg0 -
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in class Reader
Throws:
IOException

read

public int read()
         throws IOException
Overrides:
read in class Reader
Throws:
IOException
See Also:
Reader.read()

read

public int read(char[] buf,
                int off,
                int len)
         throws IOException
Specified by:
read in class Reader
Throws:
IOException
See Also:
Reader.read(char[], int, int)