Deprecated
Use Tokenizer
This class is immutable and thread safe.
| Modifier and Type | Field and Description |
|---|---|
| public static final char | DQUOTE
Double quote
|
| public static final char | ESCAPE
Backward slash / escape character
|
| public static final TokenParser | INSTANCE
Hides org.
Deprecated
as a consequence of
TokenParser being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | copyContent(final CharSequence buf, final ParserCursor cursor, final BitSet delimiters, final StringBuilder dst)
|
| public void | copyContent(final CharSequence
buffer with the sequence of chars to be parsed buf, final Tokenizer.defines the bounds and current position of the buffer cursor,set of delimiting characters. Can be delimiters, final StringBuilder null if the value
is delimited by a whitespace only.destination buffer dst)
Transfers content into the destination buffer until a whitespace character or any of
the given delimiters is encountered.
|
| public void | |
| public void | copyQuotedContent(final CharSequence
buffer with the sequence of chars to be parsed buf, final Tokenizer.defines the bounds and current position of the buffer cursor,destination buffer dst)Overrides org. |
| public void | copyUnquotedContent(final CharSequence buf, final ParserCursor cursor, final BitSet delimiters, final StringBuilder dst)
|
| public void | copyUnquotedContent(final CharSequence
buffer with the sequence of chars to be parsed buf, final Tokenizer.defines the bounds and current position of the buffer cursor,set of delimiting characters. Can be delimiters, final StringBuilder null if the value
is delimited by a whitespace or a quote only.destination buffer dst)Overrides org. |
| public String | |
| public String | |
| public void |
| DQUOTE | back to summary |
|---|---|
| public static final char DQUOTE Hides org. Double quote | |
| ESCAPE | back to summary |
|---|---|
| public static final char ESCAPE Hides org. Backward slash / escape character | |
| INSTANCE | back to summary |
|---|---|
| public static final TokenParser INSTANCE Hides org. Deprecated as a consequence of | |
| TokenParser | back to summary |
|---|---|
| public TokenParser() | |
| copyContent | back to summary |
|---|---|
| public void copyContent(final CharSequence buf, final ParserCursor cursor, final BitSet delimiters, final StringBuilder dst) | |
| copyContent | back to summary |
|---|---|
| public void copyContent(final CharSequence buf, final Tokenizer. Overrides org. Doc from org. Transfers content into the destination buffer until a whitespace character or any of the given delimiters is encountered.
| |
| copyQuotedContent | back to summary |
|---|---|
| public void copyQuotedContent(final CharSequence buf, final ParserCursor cursor, final StringBuilder dst) | |
| copyQuotedContent | back to summary |
|---|---|
| public void copyQuotedContent(final CharSequence buf, final Tokenizer. Overrides org. Doc from org. Transfers content enclosed with quote marks into the destination buffer.
| |
| copyUnquotedContent | back to summary |
|---|---|
| public void copyUnquotedContent(final CharSequence buf, final ParserCursor cursor, final BitSet delimiters, final StringBuilder dst) | |
| copyUnquotedContent | back to summary |
|---|---|
| public void copyUnquotedContent(final CharSequence buf, final Tokenizer. Overrides org. Doc from org. Transfers content into the destination buffer until a whitespace character, a quote, or any of the given delimiters is encountered.
| |
| parseToken | back to summary |
|---|---|
| public String parseToken(final CharSequence buf, final ParserCursor cursor, final BitSet delimiters) | |
| parseValue | back to summary |
|---|---|
| public String parseValue(final CharSequence buf, final ParserCursor cursor, final BitSet delimiters) | |
| skipWhiteSpace | back to summary |
|---|---|
| public void skipWhiteSpace(final CharSequence buf, final ParserCursor cursor) | |