public class AcceptableLanguageTag extends LanguageTag implements QualityFactor
| Modifier and Type | Field and Description |
|---|---|
protected int |
quality |
primaryTag, subTags, tagDEFAULT_QUALITY_FACTOR, MAXIMUM_QUALITY, MINUMUM_QUALITY, QUALITY_FACTOR| Constructor and Description |
|---|
AcceptableLanguageTag(HttpHeaderReader reader) |
AcceptableLanguageTag(String header) |
AcceptableLanguageTag(String primaryTag,
String subTags) |
| Modifier and Type | Method and Description |
|---|---|
int |
getQuality() |
equals, getAsLocale, getPrimaryTag, getSubTags, getTag, hashCode, isCompatible, parse, toString, valueOfpublic AcceptableLanguageTag(String header) throws ParseException
ParseExceptionpublic AcceptableLanguageTag(HttpHeaderReader reader) throws ParseException
ParseExceptionpublic int getQuality()
getQuality in interface QualityFactorCopyright © 2014 Oracle Corporation. All rights reserved.