| java.lang.Object java.io.Reader com.caucho.vfs.TempCharReader
TempCharReader | public class TempCharReader extends Reader (Code) | | Char reader based on an underlying buffer.
|
Method Summary | |
public void | close() Closes the reader. | public void | init(TempCharBuffer head) Initialize the reader. | public boolean | isEmpty() Returns true if it's empty. | public int | read() Reads the next character. | public int | read(char[] buffer, int offset, int length) Reads the next character. | public void | reset() | public void | setFree(boolean isFree) Set the reader to free the buffer. | public void | unread() |
TempCharReader | public TempCharReader()(Code) | | Create a new TempCharReader.
|
close | public void close()(Code) | | Closes the reader.
|
isEmpty | public boolean isEmpty()(Code) | | Returns true if it's empty.
|
read | public int read()(Code) | | Reads the next character.
|
read | public int read(char[] buffer, int offset, int length)(Code) | | Reads the next character.
|
reset | public void reset()(Code) | | Resets the reader
|
setFree | public void setFree(boolean isFree)(Code) | | Set the reader to free the buffer.
|
unread | public void unread()(Code) | | |
|
|