<?xml version="1.0"?>
<!--
   Copyright 2002-2005 The Apache Software Foundation

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->

<document>

 <properties>
  <title>Overview</title>
  <author email="jstrachan@apache.org">James Strachan</author>
 </properties>

<body>

<section name="Resources : Resource bundle component">

<p>Many Java applications must support internationalization (i18n) of message
strings presented as part of the user interface, or in messages written to
log files.  The standard Java APIs offer the
<code>java.util.ResourceBundle</code> family of classes to support this
requirement; however, these classes have the following limitations that
reduce their usefulness:</p>
<ul>
<li>The classes assume that all messages should be presented based on
    a single Locale, while many applications require support for different
    Locales for each current application user.</li>
<li>The <code>ResourceBundle</code> implementation classes do not implement
    the <code>java.io.Serializable</code> interface, which is required in
    some operational environments.</li>
</ul>

<p>The classes in the <code>Resources</code> package offer solutions
to these two problems, and provide a framework for providing customized
<b><code>Resources</code></b> implementations that can access resource strings
from any desired static or dynamically updated collection.</p>

  <subsection name="Resources API">

    <p>The core of the resources framework are two interfaces:</p>
    <ul>
        <li><a href="apidocs/org/apache/commons/resources/Resources.html">Resources</a> 
            Representation of a set of internationalized resources, which are arbitrary
            objects identified by a unique String key and can be accessed for different
            <code>java.util.Locale</code>.</li>
        <li><a href="apidocs/org/apache/commons/resources/ResourcesFactory.html">ResourcesFactory</a> 
            Factory class to configure and instantiate an appropriate
            <code>Resources</code> instance.</li>
    </ul>

    <p>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.
    </p>
   
    <p>The resources framework also includes interfaces for encapsualting messages
       and message lists:</p>
    <ul>
        <li><a href="apidocs/org/apache/commons/resources/Message.html">Message</a> 
            An encapsulation of an individual message, consisting of a message key,
            and replacement values.</li>
        <li><a href="apidocs/org/apache/commons/resources/MessageList.html">MessageList</a> 
            A class that encapsulates a set of messages.</li>
    </ul>
  </subsection>

</section>

<section name="Documentation">

    <subsection name="Wiki">
        <p>
        See the <a href="http://wiki.apache.org/jakarta-commons/FrontPage">Commons Wiki</a> for
        the User Guide, class diagram and other resources:
        <ul>
            <li><a href="http://wiki.apache.org/jakarta-commons/Resources/">Resources Wiki Home Page</a></li>
            <li><a href="http://wiki.apache.org/jakarta-commons/ResourcesClassDiagram/">Class Diagram</a></li>
            <li><a href="http://wiki.apache.org/jakarta-commons/ResourcesUserGuide/">User Guide</a></li>
        </ul>
        </p>
    </subsection>
    <subsection name="JavaDoc">
        <p>
        The JavaDoc API documents are available <a href="apidocs/index.html">here</a>.
        </p>
        <p>
        The following versions of the JavaDoc API documents are available online:
        </p>
        <ul>
            <li>The <a href="http://commons.apache.org/resources/api-release/">Current Release</a></li>
            <li>The <a href="http://commons.apache.org/resources/apidocs/">latest SVN</a></li>
        </ul>
    </subsection>

    <subsection name="Source Code Repository">
        <p>
        The <a href="cvs-usage.html">subversion repository</a> can be
        <a href="http://svn.apache.org/viewvc/commons/proper/resources/trunk/">browsed</a>.
        </p>
    </subsection>
</section>

<section name="Releases">
    <p>See the <a href="downloads.html">Downloads</a> page for current/previous 
       releases.
    </p>
    <p>Release Notes are available <a href="changes-report.html">here</a>.
    </p>
</section>

<section name="Support">
    <p>
    The <a href="mail-lists.html">commons mailing lists</a> 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].
    </p>

    <p>
    Issues may be reported via <a href="issue-tracking.html">ASF Bugzilla</a>.
    Please remember that Bugzilla is shared between all commons components,
    so prefix your issue by [resources].
    </p>
</section>

</body>
</document>

