|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Reader java.io.FilterReader gnu.text.LineBufferedReader gnu.mapping.InPort gnu.mapping.CharArrayInPort
public class CharArrayInPort
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.
Field Summary |
---|
Fields inherited from class gnu.mapping.InPort |
---|
inLocation |
Fields inherited from class gnu.text.LineBufferedReader |
---|
buffer, limit, lineNumber, markPos, pos, readAheadLimit, readState |
Fields inherited from class java.io.FilterReader |
---|
in |
Fields inherited from class java.io.Reader |
---|
lock |
Constructor Summary | |
---|---|
CharArrayInPort(char[] buffer)
|
|
CharArrayInPort(char[] buffer,
int len)
|
|
CharArrayInPort(java.lang.String string)
|
Method Summary | |
---|---|
int |
read()
|
Methods inherited from class gnu.mapping.InPort |
---|
convertToReader, inDefault, openFile, openFile, print, setInDefault |
Methods inherited from class gnu.text.LineBufferedReader |
---|
fill, getColumnNumber, getConvertCR, getLineNumber, getName, getReadState, lineStart, mark, markSupported, peek, read, readLine, readLine, ready, reset, setBuffer, setConvertCR, setLineNumber, setName, skip_quick, skip, skip, unread_quick, unread |
Methods inherited from class java.io.FilterReader |
---|
close, skip |
Methods inherited from class java.io.Reader |
---|
read, read |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharArrayInPort(char[] buffer, int len)
public CharArrayInPort(char[] buffer)
public CharArrayInPort(java.lang.String string)
Method Detail |
---|
public int read() throws java.io.IOException
read
in class LineBufferedReader
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |