org.codehaus.plexus.i18n

Class I18NTokenizer.AcceptLanguage

Enclosing Class:
I18NTokenizer
Implemented Interfaces:
Comparable

private class I18NTokenizer.AcceptLanguage
extends java.lang.Object
implements Comparable

Struct representing an element of the HTTP Accept-Language header.

Field Summary

(package private) Locale
locale
The language and country.
(package private) Float
quality
The quality of our locale (as values approach 1.0, they indicate increased user preference).

Method Summary

int
compareTo(Object acceptLang)

Field Details

locale

(package private)  Locale locale
The language and country.

quality

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

Method Details

compareTo

public final int compareTo(Object acceptLang)