public class FastBufferReader extends Reader
| Constructor and Description |
|---|
FastBufferReader(CharBuffer buffer) |
FastBufferReader(FastBufferWriter writer)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Returns the number of chars that may be read from this storage.
|
void |
close() |
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
void |
writeTo(Writer writer)
Writes rest of data written up to the moment to out.
|
public FastBufferReader(CharBuffer buffer)
@Deprecated public FastBufferReader(FastBufferWriter writer)
writer - public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionpublic int read()
throws IOException
read in class ReaderIOExceptionReader.read()public int read(char[] cbuf,
int off,
int len)
throws IOException
read in class ReaderIOExceptionReader.read(char[] cbuf, int off, int len)public int available()
throws IOException
IOExceptionpublic void writeTo(Writer writer) throws IOException
writer - IOExceptionCopyright © 2015 JBoss by Red Hat. All Rights Reserved.