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 Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
public int read() throws IOException
read
in class Reader
IOException
Reader.read()
public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
Reader.read(char[] cbuf, int off, int len)
public int available() throws IOException
IOException
public void writeTo(Writer writer) throws IOException
writer
- IOException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.