|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Reader
java.io.BufferedReader
com.inet.html.parser.PushReader
public class PushReader
Constructor Summary | |
---|---|
PushReader(java.io.Reader in)
Creates the reader for an input stream |
Method Summary | |
---|---|
void |
checkForUtf8Prefix()
Check if the document start with an UTF8 prefix. |
void |
commit()
Resets the rollback buffer and deactivates the transaction mode |
void |
push(char ch)
Return a character to the stream. |
int |
read()
|
char |
readQuotedChar()
Read a html encoded character |
void |
rollBack()
Does a rollback for all characters fetched since the transaction was started. |
void |
shutDown()
Shuts down the stream. |
void |
startTransaction()
Activates the transaction mode, which will buffer all characters read. |
Methods inherited from class java.io.BufferedReader |
---|
close, mark, markSupported, read, readLine, ready, reset, skip |
Methods inherited from class java.io.Reader |
---|
read, read |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PushReader(java.io.Reader in)
in
- the input stream to read from, must not be nullMethod Detail |
---|
public int read() throws java.io.IOException
read
in class java.io.BufferedReader
java.io.IOException
public void push(char ch)
ch
- the characterpublic char readQuotedChar()
public void checkForUtf8Prefix() throws java.io.IOException, javax.swing.text.ChangedCharSetException
java.io.IOException
- If an I/O error occurs
javax.swing.text.ChangedCharSetException
- if the prefix was find and the document is not allready UTF8 encodedpublic void startTransaction()
public void rollBack()
public void commit()
public void shutDown() throws java.io.IOException
java.io.IOException
- thrown, if the close fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |