public class InputStreamAdapter extends InputStream
Constructor and Description |
---|
InputStreamAdapter(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) |
read, read
public InputStreamAdapter(Reader rd)
public int read() throws IOException
read
in class InputStream
IOException
public int available()
available
in class InputStream
public void mark(int readLimit)
mark
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
public void reset() throws IOException
reset
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException