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.


Constructor Index

 o StringDecoder(StringProducer)

Method Index

 o atEnd()
 o atEOF()
 o createDecoder(CharProducer)
 o read(StringBuffer)
Appends the next String from the input source to the end of the specified buffer.
 o readBegin()
 o readEnd()

Constructors

 o StringDecoder
  public StringDecoder(StringProducer in)

Methods

 o 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
 o readBegin
  public void readBegin() throws IOException
Overrides:
readBegin in class StringProducer
 o atEnd
  public boolean atEnd() throws IOException
Overrides:
atEnd in class StringProducer
 o readEnd
  public void readEnd() throws IOException
Overrides:
readEnd in class StringProducer
 o atEOF
  public boolean atEOF() throws IOException
Overrides:
atEOF in class StringProducer
 o createDecoder
  protected abstract CharProducer createDecoder(CharProducer in)

All Packages  Class Hierarchy  This Package  Previous  Next  Index