Class COM.ibm.jaws.motk.StringDecoder
All Packages Class Hierarchy This Package Previous Next Index
Class COM.ibm.jaws.motk.StringDecoder
java.lang.Object
|
+----COM.ibm.jaws.motk.StringProducer
|
+----COM.ibm.jaws.motk.StringDecoder
- public class StringDecoder
- extends StringProducer
A StringProducer that takes input from an StringProducer that is
producing strings that are encoded (ASCII, URL, ...) and returns
strings that are un-encoded Java chars.
The concrete derived classes of this class define the actual
decoding rules.
-
StringDecoder(StringProducer)
-
-
atEnd()
-
-
atEOF()
-
-
createDecoder(CharProducer)
-
-
read(StringBuffer)
- Appends the next String from the input source to the end of the
specified buffer.
-
readBegin()
-
-
readEnd()
-
StringDecoder
public StringDecoder(StringProducer in)
read
public void read(StringBuffer buf) throws IOException
- Appends the next String from the input source to the end of the
specified buffer.
- Overrides:
- read in class StringProducer
readBegin
public void readBegin() throws IOException
- Overrides:
- readBegin in class StringProducer
atEnd
public boolean atEnd() throws IOException
- Overrides:
- atEnd in class StringProducer
readEnd
public void readEnd() throws IOException
- Overrides:
- readEnd in class StringProducer
atEOF
public boolean atEOF() throws IOException
- Overrides:
- atEOF in class StringProducer
createDecoder
protected abstract CharProducer createDecoder(CharProducer in)
All Packages Class Hierarchy This Package Previous Next Index