A B C D E F G H I L N O Q R
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACCEPT_LANGUAGE - Static variable in interface org.codehaus.plexus.i18n.I18N
- AcceptLanguage() - Constructor for class org.codehaus.plexus.i18n.I18NTokenizer.AcceptLanguage
B
- bundleName - Variable in class org.codehaus.plexus.i18n.DefaultLanguage
- bundleNames - Variable in class org.codehaus.plexus.i18n.DefaultI18N
- bundles - Variable in class org.codehaus.plexus.i18n.DefaultI18N
C
- cacheBundle(String, Locale) - Method in class org.codehaus.plexus.i18n.DefaultI18N
-
Caches the named bundle for fast lookups.
- compareTo(Object) - Method in class org.codehaus.plexus.i18n.I18NTokenizer.AcceptLanguage
D
- DEFAULT_NAME - Static variable in interface org.codehaus.plexus.i18n.Language
-
look for Messages.properties in the clazz package by default
- DEFAULT_QUALITY - Static variable in class org.codehaus.plexus.i18n.I18NTokenizer
-
The default quality value for an
AcceptLanguage
object. - defaultBundleName - Variable in class org.codehaus.plexus.i18n.DefaultI18N
- defaultCountry - Variable in class org.codehaus.plexus.i18n.DefaultI18N
- DefaultI18N - Class in org.codehaus.plexus.i18n
- DefaultI18N() - Constructor for class org.codehaus.plexus.i18n.DefaultI18N
- defaultLanguage - Variable in class org.codehaus.plexus.i18n.DefaultI18N
- DefaultLanguage - Class in org.codehaus.plexus.i18n
- DefaultLanguage() - Constructor for class org.codehaus.plexus.i18n.DefaultLanguage
- DefaultLanguage(Class) - Constructor for class org.codehaus.plexus.i18n.DefaultLanguage
- DefaultLanguage(Class, Locale) - Constructor for class org.codehaus.plexus.i18n.DefaultLanguage
- defaultLocale - Variable in class org.codehaus.plexus.i18n.DefaultI18N
- devMode - Variable in class org.codehaus.plexus.i18n.DefaultI18N
E
- error - Variable in class org.codehaus.plexus.i18n.DefaultLanguage
F
- findBundleByLocale(String, Locale, Map) - Method in class org.codehaus.plexus.i18n.DefaultI18N
-
Retrieves the bundle most closely matching first against the supplied inputs, then against the defaults.
- format(String, Object) - Method in class org.codehaus.plexus.i18n.DefaultI18N
- format(String, Object) - Method in interface org.codehaus.plexus.i18n.I18N
- format(String, Object, Object) - Method in class org.codehaus.plexus.i18n.DefaultI18N
- format(String, Object, Object) - Method in interface org.codehaus.plexus.i18n.I18N
- format(String, Locale, String, Object) - Method in class org.codehaus.plexus.i18n.DefaultI18N
- format(String, Locale, String, Object) - Method in interface org.codehaus.plexus.i18n.I18N
- format(String, Locale, String, Object[]) - Method in class org.codehaus.plexus.i18n.DefaultI18N
-
Looks up the value for
key
in theResourceBundle
referenced bybundleName
, then formats that value for the specifiedLocale
usingargs
. - format(String, Locale, String, Object[]) - Method in interface org.codehaus.plexus.i18n.I18N
- format(String, Locale, String, Object, Object) - Method in class org.codehaus.plexus.i18n.DefaultI18N
- format(String, Locale, String, Object, Object) - Method in interface org.codehaus.plexus.i18n.I18N
G
- getBundle() - Method in class org.codehaus.plexus.i18n.DefaultI18N
- getBundle() - Method in interface org.codehaus.plexus.i18n.I18N
- getBundle(String) - Method in class org.codehaus.plexus.i18n.DefaultI18N
- getBundle(String) - Method in interface org.codehaus.plexus.i18n.I18N
- getBundle(String, String) - Method in class org.codehaus.plexus.i18n.DefaultI18N
-
This method returns a ResourceBundle given the bundle name and the Locale information supplied in the HTTP "Accept-Language" header.
- getBundle(String, String) - Method in interface org.codehaus.plexus.i18n.I18N
- getBundle(String, Locale) - Method in class org.codehaus.plexus.i18n.DefaultI18N
-
This method returns a ResourceBundle for the given bundle name and the given Locale.
- getBundle(String, Locale) - Method in interface org.codehaus.plexus.i18n.I18N
- getBundleIgnoreException(String, Locale) - Method in class org.codehaus.plexus.i18n.DefaultI18N
-
Retrieves the bundle using the
ResourceBundle.getBundle(String, Locale)
method, returningnull
instead of throwingMissingResourceException
. - getBundleNames() - Method in class org.codehaus.plexus.i18n.DefaultI18N
- getBundleNames() - Method in interface org.codehaus.plexus.i18n.I18N
- getDefaultBundleName() - Method in class org.codehaus.plexus.i18n.DefaultI18N
- getDefaultBundleName() - Method in interface org.codehaus.plexus.i18n.I18N
- getDefaultCountry() - Method in class org.codehaus.plexus.i18n.DefaultI18N
- getDefaultCountry() - Method in interface org.codehaus.plexus.i18n.I18N
- getDefaultLanguage() - Method in class org.codehaus.plexus.i18n.DefaultI18N
- getDefaultLanguage() - Method in interface org.codehaus.plexus.i18n.I18N
- getLocale(String) - Method in class org.codehaus.plexus.i18n.DefaultI18N
- getLocale(String) - Method in interface org.codehaus.plexus.i18n.I18N
- getMessage(String, String...) - Method in class org.codehaus.plexus.i18n.DefaultLanguage
- getMessage(String, String...) - Method in interface org.codehaus.plexus.i18n.Language
- getString(String) - Method in class org.codehaus.plexus.i18n.DefaultI18N
- getString(String) - Method in interface org.codehaus.plexus.i18n.I18N
- getString(String, Locale) - Method in class org.codehaus.plexus.i18n.DefaultI18N
- getString(String, Locale) - Method in interface org.codehaus.plexus.i18n.I18N
- getString(String, Locale, String) - Method in class org.codehaus.plexus.i18n.DefaultI18N
- getString(String, Locale, String) - Method in interface org.codehaus.plexus.i18n.I18N
- getStringOrNull(ResourceBundle, String) - Method in class org.codehaus.plexus.i18n.DefaultI18N
-
Gets localized text from a bundle if it's there.
H
- hasNext() - Method in class org.codehaus.plexus.i18n.I18NTokenizer
I
- i18n - Variable in class org.codehaus.plexus.i18n.DefaultLanguage
- I18N - Interface in org.codehaus.plexus.i18n
- I18NTokenizer - Class in org.codehaus.plexus.i18n
-
Parses the HTTP
Accept-Language
header as per section 14.4 of RFC 2068 (HTTP 1.1 header field definitions). - I18NTokenizer(String) - Constructor for class org.codehaus.plexus.i18n.I18NTokenizer
-
Parses the
Accept-Language
header. - I18NTokenizer.AcceptLanguage - Class in org.codehaus.plexus.i18n
-
Struct representing an element of the HTTP
Accept-Language
header. - initialize() - Method in class org.codehaus.plexus.i18n.DefaultI18N
-
Called the first time the Service is used.
- initializeBundleNames() - Method in class org.codehaus.plexus.i18n.DefaultI18N
L
- Language - Interface in org.codehaus.plexus.i18n
- LanguageException - Exception in org.codehaus.plexus.i18n
- LanguageException() - Constructor for exception org.codehaus.plexus.i18n.LanguageException
- LanguageException(String) - Constructor for exception org.codehaus.plexus.i18n.LanguageException
- LanguageException(String, Throwable) - Constructor for exception org.codehaus.plexus.i18n.LanguageException
- LanguageException(Throwable) - Constructor for exception org.codehaus.plexus.i18n.LanguageException
- locale - Variable in class org.codehaus.plexus.i18n.DefaultLanguage
- locale - Variable in class org.codehaus.plexus.i18n.I18NTokenizer.AcceptLanguage
-
The language and country.
- LOCALE_SEPARATOR - Static variable in class org.codehaus.plexus.i18n.I18NTokenizer
-
Separates elements of the
Accept-Language
HTTP header. - locales - Variable in class org.codehaus.plexus.i18n.I18NTokenizer
-
The parsed locales.
N
- next() - Method in class org.codehaus.plexus.i18n.I18NTokenizer
-
Creates a
Locale
from the next element of theAccept-Language
header. - NO_ARGS - Static variable in class org.codehaus.plexus.i18n.DefaultI18N
O
- org.codehaus.plexus.i18n - package org.codehaus.plexus.i18n
Q
- quality - Variable in class org.codehaus.plexus.i18n.I18NTokenizer.AcceptLanguage
-
The quality of our locale (as values approach
1.0
, they indicate increased user preference). - QUALITY_SEPARATOR - Static variable in class org.codehaus.plexus.i18n.I18NTokenizer
-
Separates locale from quality within elements.
R
- remove() - Method in class org.codehaus.plexus.i18n.I18NTokenizer
-
Not implemented.
- ROLE - Static variable in interface org.codehaus.plexus.i18n.I18N
- ROLE - Static variable in interface org.codehaus.plexus.i18n.Language
All Classes All Packages