public class AcceptCharsetList extends AbstractQValueList<String>
m_aMap| Constructor and Description |
|---|
AcceptCharsetList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharset(String sCharset,
double dQuality) |
boolean |
explicitlySupportsCharset(String sCharset) |
double |
getQualityOfCharset(String sCharset)
Return the associated quality of the given charset.
|
QValue |
getQValueOfCharset(String sCharset)
Return the associated quality of the given charset.
|
boolean |
supportsCharset(String sCharset) |
getAllQValues, getAllQValuesGreaterOrEqual, getAllQValuesGreaterThan, getAllQValuesLowerOrEqual, getAllQValuesLowerThan, toStringpublic void addCharset(@Nonnull String sCharset, @Nonnegative double dQuality)
@Nonnull public QValue getQValueOfCharset(@Nonnull String sCharset)
sCharset - The charset name to query. May not be null.QValue.public double getQualityOfCharset(@Nonnull String sCharset)
sCharset - The charset name to query. May not be null.Copyright © 2016–2019 Philip Helger. All rights reserved.