|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.util.io.GenericDecoder
This class delegates to a reader the decoding of an input stream.
| Field Summary | |
protected java.io.Reader |
reader
The reader used to decode the stream. |
| Fields inherited from interface org.apache.batik.util.io.CharDecoder |
END_OF_STREAM |
| Constructor Summary | |
GenericDecoder(java.io.InputStream is,
java.lang.String enc)
Creates a new GenericDecoder. |
|
GenericDecoder(java.io.Reader r)
Creates a new GenericDecoder. |
|
| 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.io.Reader reader
| Constructor Detail |
public GenericDecoder(java.io.InputStream is,
java.lang.String enc)
throws java.io.IOException
is - The input stream to decode.enc - The Java encoding name.public GenericDecoder(java.io.Reader r)
r - The reader to use.| Method Detail |
public int readChar()
throws java.io.IOException
readChar in interface CharDecoderjava.io.IOException
public void dispose()
throws java.io.IOException
dispose in interface CharDecoderjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||