程序包 | 说明 |
---|---|
com.sh.mail.mime4j.stream |
限定符和类型 | 方法和说明 |
---|---|
void |
RawFieldParser.copyContent(ByteSequence buf,
ParserCursor cursor,
java.util.BitSet delimiters,
java.lang.StringBuilder dst)
Transfers content into the destination buffer until a whitespace character, a comment,
or any of the given delimiters is encountered.
|
void |
RawFieldParser.copyQuotedContent(ByteSequence buf,
ParserCursor cursor,
java.lang.StringBuilder dst)
Transfers content enclosed with quote marks into the destination buffer.
|
NameValuePair |
RawFieldParser.parseParameter(ByteSequence buf,
ParserCursor cursor)
Parses the sequence of bytes containing a field parameter delimited with semicolon into
NameValuePair . |
java.util.List<NameValuePair> |
RawFieldParser.parseParameters(ByteSequence buf,
ParserCursor cursor)
Parses the sequence of bytes containing field parameters delimited with semicolon into
a list of
NameValuePair s. |
RawBody |
RawFieldParser.parseRawBody(ByteSequence buf,
ParserCursor cursor)
Parses the sequence of bytes containing a value with parameters into
RawBody . |
java.lang.String |
RawFieldParser.parseToken(ByteSequence buf,
ParserCursor cursor,
java.util.BitSet delimiters)
Extracts from the sequence of bytes a token terminated with any of the given delimiters
discarding semantically insignificant whitespace characters and comments.
|
java.lang.String |
RawFieldParser.parseValue(ByteSequence buf,
ParserCursor cursor,
java.util.BitSet delimiters)
Extracts from the sequence of bytes a value which can be enclosed in quote marks and
terminated with any of the given delimiters discarding semantically insignificant
whitespace characters and comments.
|
void |
RawFieldParser.skipAllWhiteSpace(ByteSequence buf,
ParserCursor cursor)
Skips semantically insignificant whitespace characters and comments and moves the cursor
to the closest semantically significant non-whitespace character.
|
void |
RawFieldParser.skipComment(ByteSequence buf,
ParserCursor cursor)
Skips semantically insignificant content if the current position is positioned at the
beginning of a comment and moves the cursor past the end of the comment.
|
void |
RawFieldParser.skipWhiteSpace(ByteSequence buf,
ParserCursor cursor)
Skips semantically insignificant whitespace characters and moves the cursor to the closest
non-whitespace character.
|