org.codehaus.plexus.i18n

Class I18NTokenizer.AcceptLanguage

private class I18NTokenizer.AcceptLanguage extends Object implements Comparable

Struct representing an element of the HTTP Accept-Language header.
Field Summary
Localelocale
The language and country.
Floatquality
The quality of our locale (as values approach 1.0, they indicate increased user preference).
Method Summary
intcompareTo(Object acceptLang)

Field Detail

locale

Locale locale
The language and country.

quality

Float quality
The quality of our locale (as values approach 1.0, they indicate increased user preference).

Method Detail

compareTo

public final int compareTo(Object acceptLang)