public class InputStreamAdapter
extends java.io.InputStream
Constructor and Description |
---|
InputStreamAdapter(java.io.Reader rd) |
Modifier and Type | Method and Description |
---|---|
int |
available()
Since the Reader class doesn't provide the available() method,
there is no way to know how many characters can be read without
blocking.
|
void |
close() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
void |
reset() |
long |
skip(long n) |
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int available()
available
in class java.io.InputStream
public void mark(int readLimit)
mark
in class java.io.InputStream
public boolean markSupported()
markSupported
in class java.io.InputStream
public void reset() throws java.io.IOException
reset
in class java.io.InputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException