| 程序包 | 说明 |
|---|---|
| com.jn.langx.io.buffer.charseq | |
| com.jn.langx.util.net.http |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CharArrayBuffer.append(CharArrayBuffer b)
Appends all chars to this buffer from the given source buffer starting
at index
0. |
void |
CharArrayBuffer.append(CharArrayBuffer b,
int off,
int len)
Appends
len chars to this buffer from the given source
buffer starting at index off. |
void |
ByteArrayBuffer.append(CharArrayBuffer b,
int off,
int len)
Appends
len chars to this buffer from the given source
char array buffer starting at index off. |
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static List<StringNameValuePair> |
HttpUrlEncodes.parse(CharArrayBuffer buf,
Charset charset,
char... separators)
Returns a list of
StringNameValuePairs parameters. |
Copyright © 2021. All rights reserved.