Package nu.validator.io
Class NonBufferingAsciiInputStreamReader
java.lang.Object
java.io.Reader
nu.validator.io.NonBufferingAsciiInputStreamReader
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Readable
public class NonBufferingAsciiInputStreamReader
extends java.io.Reader
- Version:
- $Id$
- Author:
- hsivonen
-
Field Summary
-
Constructor Summary
Constructors Constructor Description NonBufferingAsciiInputStreamReader(java.io.InputStream stream)
-
Method Summary
-
Constructor Details
-
NonBufferingAsciiInputStreamReader
public NonBufferingAsciiInputStreamReader(java.io.InputStream stream)- Parameters:
stream
-
-
-
Method Details
-
close
public void close() throws java.io.IOException- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in classjava.io.Reader
- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOException- Overrides:
read
in classjava.io.Reader
- Throws:
java.io.IOException
- See Also:
Reader.read()
-
read
public int read(char[] buf, int off, int len) throws java.io.IOException- Specified by:
read
in classjava.io.Reader
- Throws:
java.io.IOException
- See Also:
Reader.read(char[], int, int)
-