Class COM.ibm.jaws.motk.CharStringProducer
All Packages Class Hierarchy This Package Previous Next Index
Class COM.ibm.jaws.motk.CharStringProducer
java.lang.Object
|
+----COM.ibm.jaws.motk.StringProducer
|
+----COM.ibm.jaws.motk.CharStringProducer
- public class CharStringProducer
- extends StringProducer
Produces strings from a CharProducer based on a specified set of
delimiter characters. If the string contains any delimiter
characters that are not supposed to delimit parts of the string then
they must be proceeded by the designated escape character.
-
allowWhiteSpace
-
-
atBegin
-
-
atEnd
-
-
atEOF
-
-
beginChar
-
-
buf
-
-
endChar
-
-
escape
-
-
peeked
-
-
peekedBuf
-
-
peekedResult
-
-
separatorChar
-
-
tokens
-
-
CharStringProducer(CharProducer)
-
-
CharStringProducer(CharProducer, char, char, char, char, boolean)
-
-
atEnd()
-
-
atEOF()
-
-
peek()
-
-
read()
- Returns the next String from the input source.
-
read(StringBuffer)
- Appends the next String from the input source to the end of the
specified buffer.
-
readBegin()
-
-
readEnd()
-
tokens
protected Tokenizer tokens
allowWhiteSpace
protected boolean allowWhiteSpace
atEnd
protected boolean atEnd
atEOF
protected boolean atEOF
atBegin
protected boolean atBegin
buf
protected StringBuffer buf
separatorChar
protected char separatorChar
beginChar
protected char beginChar
endChar
protected char endChar
escape
protected char escape
peeked
protected boolean peeked
peekedBuf
protected StringBuffer peekedBuf
peekedResult
protected int peekedResult
CharStringProducer
public CharStringProducer(CharProducer charIn)
CharStringProducer
public CharStringProducer(CharProducer charIn,
char separatorChar,
char beginChar,
char endChar,
char escape,
boolean allowWhiteSpace)
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
read
public String read() throws IOException
- Returns the next String from the input source.
- Overrides:
- read in class StringProducer
peek
protected int peek() throws IOException
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
All Packages Class Hierarchy This Package Previous Next Index