| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.charseq |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TokenParser.copyContent(CharArrayBuffer buf,
ParserCursor cursor,
BitSet delimiters,
StringBuilder dst)
Transfers content into the destination buffer until a whitespace character or any of
the given delimiters is encountered.
|
void |
TokenParser.copyQuotedContent(CharArrayBuffer buf,
ParserCursor cursor,
StringBuilder dst)
Transfers content enclosed with quote marks into the destination buffer.
|
void |
TokenParser.copyUnquotedContent(CharArrayBuffer buf,
ParserCursor cursor,
BitSet delimiters,
StringBuilder dst)
Transfers content into the destination buffer until a whitespace character, a quote,
or any of the given delimiters is encountered.
|
String |
TokenParser.parseToken(CharArrayBuffer buf,
ParserCursor cursor,
BitSet delimiters)
Extracts from the sequence of chars a token terminated with any of the given delimiters
discarding semantically insignificant whitespace characters.
|
String |
TokenParser.parseValue(CharArrayBuffer buf,
ParserCursor cursor,
BitSet delimiters)
Extracts from the sequence of chars a value which can be enclosed in quote marks and
terminated with any of the given delimiters discarding semantically insignificant
whitespace characters.
|
void |
TokenParser.skipWhiteSpace(CharArrayBuffer buf,
ParserCursor cursor)
Skips semantically insignificant whitespace characters and moves the cursor to the closest
non-whitespace character.
|
Copyright © 2020. All rights reserved.