You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="288b6ad5-d0b5-4d17-a844-8fc58d9d3306"><ac:plain-text-body><![CDATA[

[http://jakarta.apache.org/commons/resources/ Home]

[wiki:Resources Wiki]

[wiki:ResourcesUserGuide Guide]

[wiki:ResourcesUserGuideIntro Getting Started]

[wiki:ResourcesUserGuideMessages Messages]

[wiki:ResourcesUserGuideImplementations Standard]

[wiki:ResourcesUserGuideCreating Creating]

[http://jakarta.apache.org/commons/resources/apidocs/ API]

[http://jakarta.apache.org/commons/resources/xref/ XREF]

]]></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:

  1. [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="7af8b295-5e51-4602-a709-cbf2e6af5a32"><ac:plain-text-body><![CDATA[

[http://jakarta.apache.org/commons/resources/ Home]

[wiki:Resources Wiki]

[wiki:ResourcesUserGuide Guide]

[wiki:ResourcesUserGuideIntro Getting Started]

[wiki:ResourcesUserGuideMessages Messages]

[wiki:ResourcesUserGuideImplementations Standard]

[wiki:ResourcesUserGuideCreating Creating]

[http://jakarta.apache.org/commons/resources/apidocs/ API]

[http://jakarta.apache.org/commons/resources/xref/ XREF]

]]></ac:plain-text-body></ac:structured-macro>

  • No labels