|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.util.io.StringDecoder
public class StringDecoder
This class reads a string.
| Field Summary | |
|---|---|
protected int |
length
The number of chars in the string. |
protected int |
next
The next char index. |
protected String |
string
The string which contains the decoded characters. |
| Fields inherited from interface org.apache.batik.util.io.CharDecoder |
|---|
END_OF_STREAM |
| Constructor Summary | |
|---|---|
StringDecoder(String s)
Creates a new StringDecoder. |
|
| Method Summary | |
|---|---|
void |
dispose()
Disposes the associated resources. |
int |
readChar()
Reads the next character. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String string
protected int length
protected int next
| Constructor Detail |
|---|
public StringDecoder(String s)
| Method Detail |
|---|
public int readChar()
throws IOException
readChar in interface CharDecoderIOException
public void dispose()
throws IOException
dispose in interface CharDecoderIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||