|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpalmed.edit.text.TextReader
public final class TextReader
This class reads a stream and builds the corresponding text.
| Constructor Summary | |
|---|---|
TextReader(java.io.InputStream stream,
ITextBuilder builder)
Create a text reader. |
|
| Method Summary | |
|---|---|
int |
read(byte[] buffer)
Read into the buffer and trigger builder callbacks. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextReader(java.io.InputStream stream,
ITextBuilder builder)
stream - the stream to read frombuilder - the text builder| Method Detail |
|---|
public int read(byte[] buffer)
throws java.io.IOException
buffer - the buffer
java.io.IOException - an io exception occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||