Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

<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>

Source

...

Resources User Guide

Contents

Below is an overview of the Resources component. Further information can be found on the following pages:

  1. Wiki Markup
    \[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
    \\

Novemeber 2005 This is a first stab at creating a basic User Guide for Commons Resources - feel free to correct, enhance and expand, niallp.

Commons Resources 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}}.unmigrated-wiki-markup
  • \[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. Wiki Markup\[http://jakarta.apache.org/commons/resources/apidocs/org/apache/
  • commons/resources/MessageList.html MessageList\] A class that encapsulates a set of messages. \\ \\

Rest of the User Guide

The rest of the user guide is in the following sections, which are also available from the Navigation Bar at the top and bottom of each page:

  1. Getting Started - Using Resources 2. Messages - Using Message and MessageList 3. Standard - Standard Resources Implementations 4. Creating - Creating a Resources Implementation

You can also view the Javadoc and Source code using the links below (or on the Navigation Bar)
5. API - Javadocs
6. Source - Source Code XREF

...

Home

Wiki

Guide

Getting Started

Messages

Standard

Creating

API

Source

<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>