public class TextIOInputStream extends InputStream
Constructor and Description |
---|
TextIOInputStream(TextIOBase textIO)
Creates an InputStream wrapper to a given TextIOBase.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
available, mark, markSupported, read, reset
public TextIOInputStream(TextIOBase textIO)
textIO
- a TextIOBasepublic int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException