public class TempCharReader
extends java.io.Reader
| Constructor and Description |
|---|
TempCharReader()
Create a new TempCharReader.
|
TempCharReader(TempCharBuffer head)
Create a new TempBuffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reader.
|
void |
init(TempCharBuffer head)
Initialize the reader.
|
boolean |
isEmpty()
Returns true if it's empty.
|
int |
read()
Reads the next character.
|
int |
read(char[] buffer,
int offset,
int length)
Reads the next character.
|
void |
reset()
Resets the reader
|
void |
setFree(boolean isFree)
Set the reader to free the buffer.
|
void |
unread() |
public TempCharReader()
public TempCharReader(TempCharBuffer head)
public void setFree(boolean isFree)
public void init(TempCharBuffer head)
public void reset()
reset in class java.io.Readerpublic int read()
read in class java.io.Readerpublic int read(char[] buffer,
int offset,
int length)
read in class java.io.Readerpublic void unread()
public boolean isEmpty()
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Reader