public class AcceptEncoding extends CharacterSeparatedList
| Modifier and Type | Field and Description |
|---|---|
protected QualityArgument[] |
encodings
Array of
QualityArguments. |
CR, currentString, HT, LF, separator, SP| Constructor and Description |
|---|
AcceptEncoding()
Creates a new instance of
AcceptEncoding with a default separator (comma character ","). |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
generate(StringBuilder sb)
Not implemented.
|
QualityArgument[] |
getEncodings()
Returns the previously parsed array of
QualityArguments. |
void |
initializeNbTokens(int nbTokens)
Sets the size of the array for storing parsed
QualityArguments. |
void |
newToken(int index,
int start,
int stop)
|
endParse, parse, parse@Nullable protected QualityArgument[] encodings
QualityArguments.public AcceptEncoding()
AcceptEncoding with a default separator (comma character ",").public StringBuilder generate(StringBuilder sb)
generate in class CharacterSeparatedListsb - the StringBufferRuntimeException to signal that the function is not implemented.@Nullable public QualityArgument[] getEncodings()
QualityArguments.public void initializeNbTokens(int nbTokens)
QualityArguments.initializeNbTokens in class CharacterSeparatedListnbTokens - the size of the array for storing the parsed QualityArguments.public void newToken(int index,
int start,
int stop)
newToken in class CharacterSeparatedListindex - the index of the QualityArgument to be parsedstart - the start index in the current string to parse fromstop - the end index in the current string to parse from