| Modifier and Type | Field and Description |
|---|---|
| private TextIOBase |
| Access | Constructor and Description |
|---|---|
| public | TextIOInputStream(TextIOBase
a TextIOBase textIO)Creates an InputStream wrapper to a given TextIOBase. |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. Closes this input stream and releases any system resources associated with the stream. |
| public int | read()
Implements abstract java. Reads the next byte of data from the input stream. |
| public int | read(byte[]
the buffer into which the data is read. b, int the start offset in array off, int b
at which the data is written.the maximum number of bytes to read. len)Overrides java. Reads up to |
| public long | skip(long
the number of bytes to be skipped. n)Overrides java. Skips over and discards |
| textIO | back to summary |
|---|---|
| private TextIOBase textIO | |
| TextIOInputStream | back to summary |
|---|---|
| public TextIOInputStream(TextIOBase textIO) Creates an InputStream wrapper to a given TextIOBase.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream.
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements abstract java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| read | back to summary |
|---|---|
| public int read(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Reads up to This method blocks until input data is available, end of file is detected, or an exception is thrown. If The first byte read is stored into element In every case, elements
the total number of bytes read into the buffer, or
| |
| skip | back to summary |
|---|---|
| public long skip(long n) throws IOException Overrides java. Doc from java. Skips over and discards
| |