A D E G I J L M O P R S T X

A

addMessageProvider(String, MessageProvider) - Static method in class org.apache.commons.i18n.MessageManager
Add a custom MessageProvider to the MessageManager.
arguments - Variable in class org.apache.commons.i18n.LocalizedBundle
 

D

DETAILS - Static variable in class org.apache.commons.i18n.bundles.ErrorBundle
 

E

ErrorBundle - Class in org.apache.commons.i18n.bundles
The ErrorBundle bundles together title, text, details and summary.
ErrorBundle(String) - Constructor for class org.apache.commons.i18n.bundles.ErrorBundle
 
ErrorBundle(String, String) - Constructor for class org.apache.commons.i18n.bundles.ErrorBundle
 
ErrorBundle(String, Object[]) - Constructor for class org.apache.commons.i18n.bundles.ErrorBundle
 
ErrorBundle(String, String, Object[]) - Constructor for class org.apache.commons.i18n.bundles.ErrorBundle
 

G

getArguments() - Method in class org.apache.commons.i18n.LocalizedBundle
 
getDetails(Locale) - Method in class org.apache.commons.i18n.bundles.ErrorBundle
 
getDetails(Locale, String) - Method in class org.apache.commons.i18n.bundles.ErrorBundle
 
getEntries(String, Locale) - Method in class org.apache.commons.i18n.JdbcMessageProvider
 
getEntries(String, Locale) - Static method in class org.apache.commons.i18n.MessageManager
Returns a map containing all available message entries for the given locale.
getEntries(String, String, Locale) - Static method in class org.apache.commons.i18n.MessageManager
Returns a map containing all available message entries for the given locale.
getEntries(String, Locale) - Method in interface org.apache.commons.i18n.MessageProvider
 
getEntries(String, Locale) - Method in class org.apache.commons.i18n.ResourceBundleMessageProvider
 
getEntries(String, Locale) - Method in class org.apache.commons.i18n.XMLMessageProvider
 
getEntry(String, Locale) - Method in class org.apache.commons.i18n.LocalizedBundle
 
getEntry(String, Locale, String) - Method in class org.apache.commons.i18n.LocalizedBundle
 
getErrorMessage() - Method in error org.apache.commons.i18n.LocalizedError
 
getErrorMessage() - Method in exception org.apache.commons.i18n.LocalizedException
 
getErrorMessage() - Method in exception org.apache.commons.i18n.LocalizedRuntimeException
 
getId() - Method in class org.apache.commons.i18n.LocalizedBundle
 
getLocale(ResultSet) - Method in class org.apache.commons.i18n.JdbcMessageProvider
Get Locale for the current record in the ResultSet.
getParentLocale(Locale) - Static method in class org.apache.commons.i18n.I18nUtils
 
getProviderId() - Method in class org.apache.commons.i18n.LocalizedBundle
 
getSummary(Locale) - Method in class org.apache.commons.i18n.bundles.ErrorBundle
 
getSummary(Locale, String) - Method in class org.apache.commons.i18n.bundles.ErrorBundle
 
getText(Locale) - Method in class org.apache.commons.i18n.bundles.TextBundle
 
getText(Locale, String) - Method in class org.apache.commons.i18n.bundles.TextBundle
 
getText(String, String, Locale) - Method in class org.apache.commons.i18n.JdbcMessageProvider
 
getText(String, String, Object[], Locale) - Static method in class org.apache.commons.i18n.MessageManager
Iterates over all registered message providers in order to find the given entry in the requested message bundle.
getText(String, String, Object[], Locale, String) - Static method in class org.apache.commons.i18n.MessageManager
Iterates over all registered message providers in order to find the given entry in the requested message bundle.
getText(String, String, String, Object[], Locale) - Static method in class org.apache.commons.i18n.MessageManager
Tries to find the desired entry in the named message provider.
getText(String, String, String, Object[], Locale, String) - Static method in class org.apache.commons.i18n.MessageManager
Iterates over all registered message providers in order to find the given entry in the requested message bundle.
getText(String, String, Locale) - Method in interface org.apache.commons.i18n.MessageProvider
 
getText(String, String, Locale) - Method in class org.apache.commons.i18n.ResourceBundleMessageProvider
 
getText(String, String, Locale) - Method in class org.apache.commons.i18n.XMLMessageProvider
 
getTitle(Locale) - Method in class org.apache.commons.i18n.bundles.MessageBundle
 
getTitle(Locale, String) - Method in class org.apache.commons.i18n.bundles.MessageBundle
 
getValueColumns(ResultSet) - Method in class org.apache.commons.i18n.JdbcMessageProvider
Get a String of all the column names, except the ID column and the language column.

I

I18nUtils - Class in org.apache.commons.i18n
This class holds utility methods useful when working with i18n.
ID - Static variable in class org.apache.commons.i18n.LocalizedBundle
 
id - Variable in class org.apache.commons.i18n.LocalizedBundle
 
INTERNAL_MESSAGES - Static variable in class org.apache.commons.i18n.I18nUtils
 

J

JdbcMessageProvider - Class in org.apache.commons.i18n
The JdbcMessageProvider provides messages stored in a database (or other data source) accessible via JDBC.
JdbcMessageProvider(Connection, String, String, String) - Constructor for class org.apache.commons.i18n.JdbcMessageProvider
Create new JDBC MessageProvider using the provided connection.
JdbcMessageProvider(DataSource, String, String, String) - Constructor for class org.apache.commons.i18n.JdbcMessageProvider
Create new JDBC MessageProvider using a connection from the provided DataSource.
JdbcMessageProvider(Map) - Constructor for class org.apache.commons.i18n.JdbcMessageProvider
Create JDBC MessageProvider from properties in a Map, such as a java.util.Properties object.

L

LocalizedBundle - Class in org.apache.commons.i18n
The LocalizedBundle class represents a bundle of localized messages that belong together.
LocalizedBundle(String, String) - Constructor for class org.apache.commons.i18n.LocalizedBundle
 
LocalizedBundle(String) - Constructor for class org.apache.commons.i18n.LocalizedBundle
 
LocalizedBundle(String, Object[]) - Constructor for class org.apache.commons.i18n.LocalizedBundle
 
LocalizedBundle(String, String, Object[]) - Constructor for class org.apache.commons.i18n.LocalizedBundle
 
LocalizedError - Error in org.apache.commons.i18n
The LocalizedError class is the base class for all errors that provide locaized error informations.
LocalizedError(ErrorBundle, Throwable) - Constructor for error org.apache.commons.i18n.LocalizedError
 
LocalizedError(ErrorBundle) - Constructor for error org.apache.commons.i18n.LocalizedError
 
LocalizedException - Exception in org.apache.commons.i18n
The LocalizedException class is the base class for all exceptions that provide locaized error informations.
LocalizedException(ErrorBundle, Throwable) - Constructor for exception org.apache.commons.i18n.LocalizedException
 
LocalizedException(ErrorBundle) - Constructor for exception org.apache.commons.i18n.LocalizedException
 
LocalizedRuntimeException - Exception in org.apache.commons.i18n
The LocalizedRuntimeException class is the base class for all runtime exceptions that provide locaized error informations.
LocalizedRuntimeException(ErrorBundle, Throwable) - Constructor for exception org.apache.commons.i18n.LocalizedRuntimeException
 
LocalizedRuntimeException(ErrorBundle) - Constructor for exception org.apache.commons.i18n.LocalizedRuntimeException
 

M

MESSAGE_PARSING_ERROR - Static variable in class org.apache.commons.i18n.I18nUtils
 
MessageBundle - Class in org.apache.commons.i18n.bundles
The MessageBundle groups together title and text.
MessageBundle(String) - Constructor for class org.apache.commons.i18n.bundles.MessageBundle
 
MessageBundle(String, String) - Constructor for class org.apache.commons.i18n.bundles.MessageBundle
 
MessageBundle(String, Object[]) - Constructor for class org.apache.commons.i18n.bundles.MessageBundle
 
MessageBundle(String, String, Object[]) - Constructor for class org.apache.commons.i18n.bundles.MessageBundle
 
MessageManager - Class in org.apache.commons.i18n
The MessageManager provides methods for retrieving localized messages and adding custom message providers.
MessageManager() - Constructor for class org.apache.commons.i18n.MessageManager
 
MessageNotFoundException - Exception in org.apache.commons.i18n
The MessageNotFoundException indicates that a particular message could not be found by using the given message id.
MessageNotFoundException(String) - Constructor for exception org.apache.commons.i18n.MessageNotFoundException
Constructs a new runtime exception with the specified detail message indicating that a particular message could not be found.
MessageNotFoundException(String, Throwable) - Constructor for exception org.apache.commons.i18n.MessageNotFoundException
Constructs a new runtime exception with the specified detail message indicating that a particular message and cause indicating that a particular message could not be found.
MessageProvider - Interface in org.apache.commons.i18n
The MessageProvider interface specifies the methods that must be implemented by each message provider in order to be pluggable into the MessageManager.

O

org.apache.commons.i18n - package org.apache.commons.i18n
 
org.apache.commons.i18n.bundles - package org.apache.commons.i18n.bundles
 

P

providerId - Variable in class org.apache.commons.i18n.LocalizedBundle
 

R

ResourceBundleMessageProvider - Class in org.apache.commons.i18n
The ResourceBundleMessageProvider deals with messages defined in resource bundles.
ResourceBundleMessageProvider(String) - Constructor for class org.apache.commons.i18n.ResourceBundleMessageProvider
 

S

SUMMARY - Static variable in class org.apache.commons.i18n.bundles.ErrorBundle
 

T

TEXT - Static variable in class org.apache.commons.i18n.bundles.TextBundle
 
TextBundle - Class in org.apache.commons.i18n.bundles
The TextBundle represents the most simple localized bundle with just one single entry.
TextBundle(String) - Constructor for class org.apache.commons.i18n.bundles.TextBundle
 
TextBundle(String, String) - Constructor for class org.apache.commons.i18n.bundles.TextBundle
 
TextBundle(String, Object[]) - Constructor for class org.apache.commons.i18n.bundles.TextBundle
 
TextBundle(String, String, Object[]) - Constructor for class org.apache.commons.i18n.bundles.TextBundle
 
TITLE - Static variable in class org.apache.commons.i18n.bundles.MessageBundle
 

X

XMLMessageProvider - Class in org.apache.commons.i18n
The XMLMessageProvider provides messages defined in an XML format.
XMLMessageProvider(InputStream) - Constructor for class org.apache.commons.i18n.XMLMessageProvider
 

A D E G I J L M O P R S T X

Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.