|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Reader
com.caucho.vfs.TempCharReader
public class TempCharReader
Char reader based on an underlying buffer.
Field Summary |
---|
Fields inherited from class java.io.Reader |
---|
lock |
Constructor Summary | |
---|---|
TempCharReader()
Create a new TempCharReader. |
|
TempCharReader(TempCharBuffer head)
Create a new TempBuffer. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.io.Reader |
---|
mark, markSupported, read, read, ready, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TempCharReader()
public TempCharReader(TempCharBuffer head)
Method Detail |
---|
public void setFree(boolean isFree)
public void init(TempCharBuffer head)
public void reset()
reset
in class java.io.Reader
public int read()
read
in class java.io.Reader
public int read(char[] buffer, int offset, int length)
read
in class java.io.Reader
public void unread()
public boolean isEmpty()
public void close()
close
in interface java.io.Closeable
close
in class java.io.Reader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |