<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b79c5361-4b4f-4564-b7d3-c821017f0ade"><ac:plain-text-body><![CDATA[ |
[wiki:ResourcesUserGuide Contents] |
[wiki:ResourcesUserGuideIntro Getting Started] |
[wiki:ResourcesUserGuideMessages Messages] |
[wiki:ResourcesUserGuideImplementations Standard] |
[wiki:ResourcesUserGuideCreating Creating] |
]]></ac:plain-text-body></ac:structured-macro> |
Resources User Guide
Contents
Below is an overview of the Resources component. Further information can be found on the following pages:
[wiki:ResourcesUserGuideIntro Getting Started] - Using Resources 2. [wiki:ResourcesUserGuideMessages Messages] - Using Message and MessageList 3. [wiki:ResourcesUserGuideImplementations Standard] - Standard Resources Implementations 4. [wiki:ResourcesUserGuideCreating Creating] - Creating a Resources Implementation
Overview
The core of the resources framework are two interfaces:</p>
[http://jakarta.apache.org/commons/resources/apidocs/org/apache/commons/resources/Resources.html Resources] Representation of a set of internationalized resources, which are arbitrary objects identified by a unique String key and can be accessed for different{{java.util.Locale}} and
java.util.TimeZone
.[http://jakarta.apache.org/commons/resources/apidocs/org/apache/commons/resources/ResourcesFactory.html ResourcesFactory] Factory class to configure and instantiate an appropriate Resources instance.
Basic imlementations 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:
[http://jakarta.apache.org/commons/resources/apidocs/org/apache/commons/resources/Message.html Message] An encapsulation of an individual messag, consisting of a message key, and replacement values.
[http://jakarta.apache.org/commons/resources/apidocs/org/apache/commons/resources/MessageList.html MessageList] A class that encapsulates a set of messages.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2608d3e2-14b1-4b49-a716-5f4ad927d986"><ac:plain-text-body><![CDATA[ |
[wiki:ResourcesUserGuide Contents] |
[wiki:ResourcesUserGuideIntro Getting Started] |
[wiki:ResourcesUserGuideMessages Messages] |
[wiki:ResourcesUserGuideImplementations Standard] |
[wiki:ResourcesUserGuideCreating Creating] |
]]></ac:plain-text-body></ac:structured-macro> |