gnu.mapping
Class CharArrayInPort
java.lang.Object
java.io.Reader
gnu.text.LineBufferedReader
gnu.mapping.InPort
gnu.mapping.CharArrayInPort
- All Implemented Interfaces:
- Printable, java.io.Closeable, java.lang.Readable
public class CharArrayInPort
- extends InPort
An Inport for reading from a char array.
Essentially the same as an InPort wrapped around a CharArrayReader, but
more efficient because it uses the char array as the InPort's buffer.
Fields inherited from class java.io.Reader |
lock |
Methods inherited from class gnu.text.LineBufferedReader |
close, fill, getColumnNumber, getConvertCR, getLineNumber, getName, getPath, getReadState, incrLineNumber, lineStart, mark, markSupported, peek, read, readLine, readLine, ready, reset, setBuffer, setConvertCR, setKeepFullLines, setLineNumber, setName, setPath, skip_quick, skip, skip, skipRestOfLine, unread_quick, unread |
Methods inherited from class java.io.Reader |
read, read, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CharArrayInPort
public CharArrayInPort(char[] buffer,
int len)
CharArrayInPort
public CharArrayInPort(char[] buffer)
CharArrayInPort
public CharArrayInPort(java.lang.String string)
make
public CharArrayInPort make(java.lang.CharSequence seq)
read
public int read()
throws java.io.IOException
- Overrides:
read
in class LineBufferedReader
- Throws:
java.io.IOException