public class QueueReader
extends java.io.Reader
implements java.lang.Appendable
Constructor and Description |
---|
QueueReader() |
Modifier and Type | Method and Description |
---|---|
QueueReader |
append(char ch) |
void |
append(char[] chars) |
void |
append(char[] chars,
int off,
int len) |
QueueReader |
append(java.lang.CharSequence csq) |
QueueReader |
append(java.lang.CharSequence csq,
int start,
int end) |
void |
appendEOF()
For the writer to signal that there is no more data to append.
|
void |
checkAvailable()
Hook to check for and/or request more input.
|
void |
close() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
boolean |
ready() |
protected void |
reserveSpace(int len) |
void |
reset() |
public boolean markSupported()
markSupported
in class java.io.Reader
public void mark(int readAheadLimit)
mark
in class java.io.Reader
public void reset()
reset
in class java.io.Reader
public QueueReader append(java.lang.CharSequence csq)
append
in interface java.lang.Appendable
public QueueReader append(java.lang.CharSequence csq, int start, int end)
append
in interface java.lang.Appendable
public void append(char[] chars)
public void append(char[] chars, int off, int len)
public QueueReader append(char ch)
append
in interface java.lang.Appendable
public void appendEOF()
protected void reserveSpace(int len)
public boolean ready()
ready
in class java.io.Reader
public void checkAvailable()
public int read()
read
in class java.io.Reader
public int read(char[] cbuf, int off, int len)
read
in class java.io.Reader
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Reader