public class AcceptableLanguageTag extends LanguageTag implements QualityFactor
Modifier and Type | Field and Description |
---|---|
protected int |
quality |
primaryTag, subTags, tag
DEFAULT_QUALITY_FACTOR, MAXIMUM_QUALITY, MINUMUM_QUALITY, QUALITY_FACTOR
Constructor and Description |
---|
AcceptableLanguageTag(HttpHeaderReader reader) |
AcceptableLanguageTag(java.lang.String header) |
AcceptableLanguageTag(java.lang.String primaryTag,
java.lang.String subTags) |
Modifier and Type | Method and Description |
---|---|
int |
getQuality() |
equals, getAsLocale, getPrimaryTag, getSubTags, getTag, hashCode, isCompatible, parse, toString, valueOf
public AcceptableLanguageTag(java.lang.String primaryTag, java.lang.String subTags)
public AcceptableLanguageTag(java.lang.String header) throws java.text.ParseException
java.text.ParseException
public AcceptableLanguageTag(HttpHeaderReader reader) throws java.text.ParseException
java.text.ParseException
public int getQuality()
getQuality
in interface QualityFactor
Copyright © 2016 Oracle Corporation. All Rights Reserved.