public class AcceptableLanguageTag extends LanguageTag implements Qualified
Constructor and Description |
---|
AcceptableLanguageTag(HttpHeaderReader reader) |
AcceptableLanguageTag(String header) |
AcceptableLanguageTag(String primaryTag,
String subTags) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getQuality()
Get quality factor value (in [ppt]).
|
int |
hashCode() |
getAsLocale, getPrimaryTag, getSubTags, getTag, isCompatible, parse, toString, valueOf
public AcceptableLanguageTag(String header) throws ParseException
ParseException
public AcceptableLanguageTag(HttpHeaderReader reader) throws ParseException
ParseException
public int getQuality()
Qualified
getQuality
in interface Qualified
public boolean equals(Object obj)
equals
in class LanguageTag
public int hashCode()
hashCode
in class LanguageTag
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.