| Package | Description |
|---|---|
| net.lecousin.framework.network.mime.header |
Utilities to set and analyse MIME header fields values.
|
| net.lecousin.framework.network.mime.header.parser |
Utilities to parse MIME header fields values.
|
| Modifier and Type | Method and Description |
|---|---|
List<Token> |
ParameterizedHeaderValue.generateTokens() |
List<Token> |
InternetAddressListHeaderValue.generateTokens() |
List<Token> |
InternetAddressHeaderValue.generateTokens() |
List<Token> |
HeaderValues.generateTokens() |
List<Token> |
HeaderValueFormat.generateTokens()
Generate tokens.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ParameterizedHeaderValue.parseTokens(List<Token> tokens) |
void |
InternetAddressListHeaderValue.parseTokens(List<Token> tokens) |
void |
InternetAddressHeaderValue.parseTokens(List<Token> tokens) |
void |
HeaderValues.parseTokens(List<Token> tokens) |
void |
HeaderValueFormat.parseTokens(List<Token> tokens)
Parse the given tokens.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Address
Address token.
|
class |
Comment
Comment token.
|
class |
DomainLiteral
Domain literal token.
|
class |
Space
Space token.
|
class |
SpecialCharacter
Special character token.
|
class |
SurroundedTokens
Abstract class for token sourrounding tokens.
|
class |
Word
Word (text) token.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Token> |
SurroundedTokens.tokens |
| Modifier and Type | Method and Description |
|---|---|
List<Token> |
SurroundedTokens.getContent() |
static List<Token> |
MimeHeaderValueParser.parse(String value)
Parse.
|
static List<List<Token>> |
Token.splitBySpecialCharacter(List<Token> tokens,
char sc)
Split into lists of tokens, using the given special character.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Token.asText(List<Token> tokens,
net.lecousin.framework.text.IString s)
Convert the given tokens into corresponding string.
|
static void |
Token.removeComments(List<Token> tokens)
Remove comment tokens.
|
static List<List<Token>> |
Token.splitBySpecialCharacter(List<Token> tokens,
char sc)
Split into lists of tokens, using the given special character.
|
static int |
Token.textLength(List<Token> tokens)
Calculate the length of the given tokens if converted into a string.
|
static String |
Token.toString(List<Token> tokens)
Convert the given tokens into corresponding string.
|
static void |
Token.trim(List<Token> tokens)
Remove any leading or trailing space tokens.
|
| Constructor and Description |
|---|
Address(List<Token> tokens)
Constructor.
|
Comment(List<Token> tokens)
Constructor.
|
DomainLiteral(List<Token> tokens)
Constructor.
|
SurroundedTokens(char start,
char end,
List<Token> tokens) |
Copyright © 2020. All rights reserved.