Many Java applications must support internationalization (i18n) of messagestrings presented as part of the user interface, or in messages written tolog files. The standard Java APIs offer thejava.util.ResourceBundle family of classes to support thisrequirement; however, these classes have the following limitations thatreduce their usefulness:
ResourceBundle implementation classes do not implement thejava.io.Serializable interface, which is required in some operational environments.The classes in theResources package offer solutionsto these two problems, and provide a framework for providing customizedResources implementations that can access resource stringsfrom any desired static or dynamically updated collection.
The core of the resources framework are two interfaces:
java.util.Locale.Resources instance.Basic implementations of the above are provided for resources contained in property files, XML and databases(via JDBC). Implementations are also provided for use in a Web App environment.
The resources framework also includes interfaces for encapsualting messages and message lists:
See theCommons Wiki for the User Guide, class diagram and other resources:
The JavaDoc API documents are availablehere.
The following versions of the JavaDoc API documents are available online:
Thesubversion repository can bebrowsed.
Thecommons mailing lists act as the main support forum. The user list is suitable for most library usage queries. The dev list is intended for the development discussion. Please remember that the lists are shared between all commons components, so prefix your email by [resources].
Issues may be reported viaASF Bugzilla. Please remember that Bugzilla is shared between all commons components, so prefix your issue by [resources].