org.apache.batik.util.io
public class StringDecoder extends Object implements CharDecoder
| 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. |
| Constructor Summary | |
|---|---|
| StringDecoder(String s)
Creates a new StringDecoder. | |
| Method Summary | |
|---|---|
| void | dispose()
Disposes the associated resources. |
| int | readChar()
Reads the next character. |
Returns: a character or END_OF_STREAM.