|
||||||||||
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 java.lang.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(java.lang.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 java.lang.String string
protected int length
protected int next
Constructor Detail |
---|
public StringDecoder(java.lang.String s)
Method Detail |
---|
public int readChar() throws java.io.IOException
readChar
in interface CharDecoder
java.io.IOException
public void dispose() throws java.io.IOException
dispose
in interface CharDecoder
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |