AbstractParser#parseLine(String)
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private String | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements abstract java. Implements java. |
| public boolean | markSupported()
Overrides java. |
| public int | read(char[]
Destination buffer cbuf, int Offset at which to start storing characters off, int Maximum number of characters to read len)Implements abstract java. |
| public boolean | |
| public void | |
| public long |
| length | back to summary |
|---|---|
| private int length | |
| line | back to summary |
|---|---|
| private String line | |
| next | back to summary |
|---|---|
| private int next | |
| LineReader | back to summary |
|---|---|
| public LineReader() | |
| close | back to summary |
|---|---|
| public void close() Implements abstract java. Implements java. Doc from java. Closes the stream and releases any system resources associated with it. Once the stream has been closed, further read(), ready(), mark(), reset(), or skip() invocations will throw an IOException. Closing a previously closed stream has no effect.
| |
| markSupported | back to summary |
|---|---|
| public boolean markSupported() Overrides java. Doc from java. Tells whether this stream supports the mark() operation. The default implementation always returns false. Subclasses should override this method.
| |
| read | back to summary |
|---|---|
| public int read(char[] cbuf, int off, int len) Implements abstract 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() Overrides java. Doc from java. Tells whether this stream is ready to be read.
| |
| setLine | back to summary |
|---|---|
| public void setLine(String line) | |
| skip | back to summary |
|---|---|
| public long skip(long ns) 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.
| |