| Modifier and Type | Field and Description |
|---|---|
| private char[] | |
| private int | |
| private static String | |
| private final BufferedReader |
| Access | Constructor and Description |
|---|---|
| public | ConcatenatingReader(final BufferedReader in)
This class requires that the input reader be a BufferedReader so it can do line-oriented operations. |
| Modifier and Type | Method and Description |
|---|---|
| public void | mark(final int
Limit on the number of characters that may be
read while still preserving the mark. After
reading this many characters, attempting to
reset the stream may fail. readAheadLimit)Overrides java. |
| public boolean | markSupported()
Overrides java. |
| private void | |
| public int | |
| public int | read(final char[]
Destination buffer cbuf, int Offset at which to start storing characters off, int Maximum number of characters to read len)Overrides java. |
| public boolean | |
| public void | |
| public long |
| curBuf | back to summary |
|---|---|
| private char[] curBuf | |
| curPos | back to summary |
|---|---|
| private int curPos | |
| newline | back to summary |
|---|---|
| private static String newline | |
| reader | back to summary |
|---|---|
| private final BufferedReader reader | |
| ConcatenatingReader | back to summary |
|---|---|
| public ConcatenatingReader(final BufferedReader in) This class requires that the input reader be a BufferedReader so it can do line-oriented operations. | |
| mark | back to summary |
|---|---|
| public void mark(final int readAheadLimit) throws IOException Overrides java. Doc from java. Marks the present position in the stream.
| |
| markSupported | back to summary |
|---|---|
| public boolean markSupported() Overrides java. Doc from java. Tells whether this stream supports the mark() operation.
| |
| nextLine | back to summary |
|---|---|
| private void nextLine() throws IOException | |
| read | back to summary |
|---|---|
| public int read() throws IOException Overrides java. Doc from java. Reads a single character.
| |
| read | back to summary |
|---|---|
| public int read(final char[] cbuf, int off, int len) throws IOException Overrides java. Doc from java. Reads characters into a portion of an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is reached. If
| |
| ready | back to summary |
|---|---|
| public boolean ready() throws IOException Overrides java. Doc from java. Tells whether this stream is ready to be read.
| |
| reset | back to summary |
|---|---|
| public void reset() throws IOException Overrides java. Doc from java. Resets the stream.
| |
| skip | back to summary |
|---|---|
| public long skip(long n) throws IOException Overrides java. Doc from java. Skips characters. This method will block until some characters are available, an I/O error occurs, or the end of the stream is reached. If the stream is already at its end before this method is invoked, then no characters are skipped and zero is returned.
| |