| java.lang.Object java.io.Reader gnu.text.QueueReader
QueueReader | public class QueueReader extends Reader (Code) | | An InPort that reads from a queue.
The method append can be used to write chars to the end of the queue.
author: Per Bothner |
Method Summary | |
public void | append(String str) | public void | append(char[] chars) | public synchronized void | append(char[] chars, int off, int len) | public synchronized void | append(char ch) | public synchronized void | appendEOF() For the writer to signal that there is no more data to append. | public synchronized void | close() | public synchronized void | mark(int readAheadLimit) | public boolean | markSupported() | public synchronized int | read() | public synchronized int | read(char[] cbuf, int off, int len) | public synchronized boolean | ready() | public synchronized void | reset() | void | resize(int len) |
readAheadLimit | int readAheadLimit(Code) | | |
QueueReader | public QueueReader()(Code) | | |
append | public void append(char[] chars)(Code) | | |
append | public synchronized void append(char[] chars, int off, int len)(Code) | | |
append | public synchronized void append(char ch)(Code) | | |
appendEOF | public synchronized void appendEOF()(Code) | | For the writer to signal that there is no more data to append.
|
close | public synchronized void close()(Code) | | |
mark | public synchronized void mark(int readAheadLimit)(Code) | | |
markSupported | public boolean markSupported()(Code) | | |
read | public synchronized int read()(Code) | | |
read | public synchronized int read(char[] cbuf, int off, int len)(Code) | | |
ready | public synchronized boolean ready()(Code) | | |
reset | public synchronized void reset()(Code) | | |
resize | void resize(int len)(Code) | | |
|
|