| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>Index (Fulcrum Localization 1.0.8-SNAPSHOT API)</title> |
| <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> |
| <script type="text/javascript" src="script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Index (Fulcrum Localization 1.0.8-SNAPSHOT API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="org/apache/fulcrum/localization/package-summary.html">Package</a></li> |
| <li>Class</li> |
| <li>Use</li> |
| <li><a href="org/apache/fulcrum/localization/package-tree.html">Tree</a></li> |
| <li><a href="deprecated-list.html">Deprecated</a></li> |
| <li class="navBarCell1Rev">Index</li> |
| <li><a href="help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev</li> |
| <li>Next</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="index.html?index-all.html" target="_top">Frames</a></li> |
| <li><a href="index-all.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="contentContainer"><a href="#I:A">A</a> <a href="#I:C">C</a> <a href="#I:D">D</a> <a href="#I:E">E</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:H">H</a> <a href="#I:I">I</a> <a href="#I:L">L</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a name="I:A"> |
| <!-- --> |
| </a> |
| <h2 class="title">A</h2> |
| <dl> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocalizationService.html#ACCEPT_LANGUAGE">ACCEPT_LANGUAGE</a></span> - Static variable in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocalizationService.html" title="interface in org.apache.fulcrum.localization">LocalizationService</a></dt> |
| <dd> |
| <div class="block">A constant for the HTTP <code>Accept-Language</code> header.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocaleTokenizer.AcceptLanguage.html#AcceptLanguage--">AcceptLanguage()</a></span> - Constructor for class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocaleTokenizer.AcceptLanguage.html" title="class in org.apache.fulcrum.localization">LocaleTokenizer.AcceptLanguage</a></dt> |
| <dd> </dd> |
| </dl> |
| <a name="I:C"> |
| <!-- --> |
| </a> |
| <h2 class="title">C</h2> |
| <dl> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocaleTokenizer.AcceptLanguage.html#compareTo-java.lang.Object-">compareTo(Object)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocaleTokenizer.AcceptLanguage.html" title="class in org.apache.fulcrum.localization">LocaleTokenizer.AcceptLanguage</a></dt> |
| <dd> </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#configure-org.apache.avalon.framework.configuration.Configuration-">configure(Configuration)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block">Avalon lifecycle method |
| |
| <code>Configurable</code></div> |
| </dd> |
| </dl> |
| <a name="I:D"> |
| <!-- --> |
| </a> |
| <h2 class="title">D</h2> |
| <dl> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocaleTokenizer.html#DEFAULT_QUALITY">DEFAULT_QUALITY</a></span> - Static variable in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocaleTokenizer.html" title="class in org.apache.fulcrum.localization">LocaleTokenizer</a></dt> |
| <dd> |
| <div class="block">The default quality value for an <code>AcceptLanguage</code> |
| object.</div> |
| </dd> |
| <dt><a href="org/apache/fulcrum/localization/DefaultLocalizationService.html" title="class in org.apache.fulcrum.localization"><span class="typeNameLink">DefaultLocalizationService</span></a> - Class in <a href="org/apache/fulcrum/localization/package-summary.html">org.apache.fulcrum.localization</a></dt> |
| <dd> |
| <div class="block"> |
| This class is the single point of access to all localization |
| resources.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/DefaultLocalizationService.html#DefaultLocalizationService--">DefaultLocalizationService()</a></span> - Constructor for class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/DefaultLocalizationService.html" title="class in org.apache.fulcrum.localization">DefaultLocalizationService</a></dt> |
| <dd> |
| <div class="block">Creates a new instance.</div> |
| </dd> |
| </dl> |
| <a name="I:E"> |
| <!-- --> |
| </a> |
| <h2 class="title">E</h2> |
| <dl> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocaleTokenizer.AcceptLanguage.html#equals-java.lang.Object-">equals(Object)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocaleTokenizer.AcceptLanguage.html" title="class in org.apache.fulcrum.localization">LocaleTokenizer.AcceptLanguage</a></dt> |
| <dd> </dd> |
| </dl> |
| <a name="I:F"> |
| <!-- --> |
| </a> |
| <h2 class="title">F</h2> |
| <dl> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#format-java.lang.String-java.util.Locale-java.lang.String-java.lang.Object-">format(String, Locale, String, Object)</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">Formats a localized value using the provided object.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#format-java.lang.String-java.util.Locale-java.lang.String-java.lang.Object-java.lang.Object-">format(String, Locale, String, Object, Object)</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">Formats a localized value using the provided objects.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#format-java.lang.String-java.util.Locale-java.lang.String-java.lang.Object:A-">format(String, Locale, String, Object[])</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">Formats a localized value using the provided objects.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#format-java.lang.String-java.util.Locale-java.lang.String-java.lang.Object-">format(String, Locale, String, Object)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#format-java.lang.String-java.util.Locale-java.lang.String-java.lang.Object-"><code>SimpleLocalizationService.format(String, Locale, String, Object)</code></a></div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#format-java.lang.String-java.util.Locale-java.lang.String-java.lang.Object-java.lang.Object-">format(String, Locale, String, Object, Object)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#format-java.lang.String-java.util.Locale-java.lang.String-java.lang.Object:A-">format(String, Locale, String, Object[])</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block">Looks up the value for <code>key</code> in the |
| <code>ResourceBundle</code> referenced by |
| <code>bundleName</code>, then formats that value for the |
| specified <code>Locale</code> using <code>args</code>.</div> |
| </dd> |
| </dl> |
| <a name="I:G"> |
| <!-- --> |
| </a> |
| <h2 class="title">G</h2> |
| <dl> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/DefaultLocalizationService.html#getBundle-java.lang.String-java.lang.String-">getBundle(String, String)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/DefaultLocalizationService.html" title="class in org.apache.fulcrum.localization">DefaultLocalizationService</a></dt> |
| <dd> |
| <div class="block">This method returns a ResourceBundle given the bundle name and |
| the Locale information supplied in the HTTP "Accept-Language" |
| header.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/DefaultLocalizationService.html#getBundle-javax.servlet.http.HttpServletRequest-">getBundle(HttpServletRequest)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/DefaultLocalizationService.html" title="class in org.apache.fulcrum.localization">DefaultLocalizationService</a></dt> |
| <dd> |
| <div class="block">This method returns a ResourceBundle given the Locale |
| information supplied in the HTTP "Accept-Language" header which |
| is stored in HttpServletRequest.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/DefaultLocalizationService.html#getBundle-java.lang.String-javax.servlet.http.HttpServletRequest-">getBundle(String, HttpServletRequest)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/DefaultLocalizationService.html" title="class in org.apache.fulcrum.localization">DefaultLocalizationService</a></dt> |
| <dd> </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocalizationService.html#getBundle-java.lang.String-java.lang.String-">getBundle(String, String)</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocalizationService.html" title="interface in org.apache.fulcrum.localization">LocalizationService</a></dt> |
| <dd> |
| <div class="block">Convenience method to get a ResourceBundle based on name and |
| HTTP <code>Accept-Language</code> header.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocalizationService.html#getBundle-javax.servlet.http.HttpServletRequest-">getBundle(HttpServletRequest)</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocalizationService.html" title="interface in org.apache.fulcrum.localization">LocalizationService</a></dt> |
| <dd> |
| <div class="block">Convenience method to get a ResourceBundle based on HTTP |
| Accept-Language header in HttpServletRequest.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocalizationService.html#getBundle-java.lang.String-javax.servlet.http.HttpServletRequest-">getBundle(String, HttpServletRequest)</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocalizationService.html" title="interface in org.apache.fulcrum.localization">LocalizationService</a></dt> |
| <dd> |
| <div class="block">Convenience method to get a <code>ResourceBundle</code> based |
| on name and HTTP <code>Accept-Language</code> header from a |
| <code>HttpServletRequest</code>.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#getBundle--">getBundle()</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">Convenience method to get the default <code>ResourceBundle</code>.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#getBundle-java.lang.String-">getBundle(String)</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">Returns a ResourceBundle given the bundle name and the default |
| locale information supplied by the configuration.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#getBundle-java.lang.String-java.util.Locale-">getBundle(String, Locale)</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">Convenience method to get a ResourceBundle based on name and |
| Locale.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#getBundle--">getBundle()</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#getBundle-java.lang.String-">getBundle(String)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#getBundle-java.lang.String-java.util.Locale-">getBundle(String, Locale)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#getBundleNames--">getBundleNames()</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">Retrieves the list of names of bundles to search by default for |
| <code>ResourceBundle</code> keys (as specified in the config |
| file).</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#getBundleNames--">getBundleNames()</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#getBundleNames--"><code>SimpleLocalizationService.getBundleNames()</code></a></div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#getDefaultBundleName--">getDefaultBundleName()</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">Retrieves the name of the default bundle (as specified in the |
| config file), or the first in the list if there are more than |
| one.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#getDefaultBundleName--">getDefaultBundleName()</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#getDefaultBundleName--"><code>SimpleLocalizationService.getDefaultBundleName()</code></a></div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#getDefaultCountry--">getDefaultCountry()</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">Retrieves the default country (as specified in the config |
| file).</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#getDefaultCountry--">getDefaultCountry()</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block">Retrieves the default country (specified in the config file).</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#getDefaultLanguage--">getDefaultLanguage()</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">Retrieves the default language (as specified in the config |
| file).</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#getDefaultLanguage--">getDefaultLanguage()</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block">Retrieves the default language (specified in the config file).</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#getDefaultLocale--">getDefaultLocale()</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">Retrieves the default Locale (as created from default |
| language and default country).</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#getDefaultLocale--">getDefaultLocale()</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block">Retrieves the default Locale (as created from default |
| language and default country).</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/DefaultLocalizationService.html#getLocale-javax.servlet.http.HttpServletRequest-">getLocale(HttpServletRequest)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/DefaultLocalizationService.html" title="class in org.apache.fulcrum.localization">DefaultLocalizationService</a></dt> |
| <dd> </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/DefaultLocalizationService.html#getLocale-java.lang.String-">getLocale(String)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/DefaultLocalizationService.html" title="class in org.apache.fulcrum.localization">DefaultLocalizationService</a></dt> |
| <dd> </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocalizationService.html#getLocale-javax.servlet.http.HttpServletRequest-">getLocale(HttpServletRequest)</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocalizationService.html" title="interface in org.apache.fulcrum.localization">LocalizationService</a></dt> |
| <dd> |
| <div class="block">Attempts to pull the <code>Accept-Language</code> header out of |
| the <code>HttpServletRequest</code> object and then parse it.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocalizationService.html#getLocale-java.lang.String-">getLocale(String)</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocalizationService.html" title="interface in org.apache.fulcrum.localization">LocalizationService</a></dt> |
| <dd> |
| <div class="block">Parses the <code>Accept-Language</code> header and attempts to |
| create a <code>Locale</code> from it.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#getString-java.lang.String-java.util.Locale-java.lang.String-">getString(String, Locale, String)</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">Tries very hard to return a value, looking first in the |
| specified bundle, then searching list of default bundles |
| (giving precedence to earlier bundles over later bundles).</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#getString-java.lang.String-">getString(String)</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">Returns the value for the key in the default bundle and the default locale.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#getString-java.lang.String-java.util.Locale-java.lang.String-">getString(String, Locale, String)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#getString-java.lang.String-java.util.Locale-java.lang.String-"><code>SimpleLocalizationService.getString(String, Locale, String)</code></a></div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#getString-java.lang.String-">getString(String)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block">Returns the value for the key in the default bundle and the default locale.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#getStringOrNull-java.util.ResourceBundle-java.lang.String-">getStringOrNull(ResourceBundle, String)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block">Gets localized text from a bundle if it's there.</div> |
| </dd> |
| </dl> |
| <a name="I:H"> |
| <!-- --> |
| </a> |
| <h2 class="title">H</h2> |
| <dl> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocaleTokenizer.AcceptLanguage.html#hashCode--">hashCode()</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocaleTokenizer.AcceptLanguage.html" title="class in org.apache.fulcrum.localization">LocaleTokenizer.AcceptLanguage</a></dt> |
| <dd> </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocaleTokenizer.html#hasNext--">hasNext()</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocaleTokenizer.html" title="class in org.apache.fulcrum.localization">LocaleTokenizer</a></dt> |
| <dd> </dd> |
| </dl> |
| <a name="I:I"> |
| <!-- --> |
| </a> |
| <h2 class="title">I</h2> |
| <dl> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#initBundleNames-java.lang.String:A-">initBundleNames(String[])</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block">Initialize list of default bundle names.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#initialize--">initialize()</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block">Called the first time the Service is used.</div> |
| </dd> |
| </dl> |
| <a name="I:L"> |
| <!-- --> |
| </a> |
| <h2 class="title">L</h2> |
| <dl> |
| <dt><a href="org/apache/fulcrum/localization/LocaleTokenizer.html" title="class in org.apache.fulcrum.localization"><span class="typeNameLink">LocaleTokenizer</span></a> - Class in <a href="org/apache/fulcrum/localization/package-summary.html">org.apache.fulcrum.localization</a></dt> |
| <dd> |
| <div class="block">Parses the HTTP <code>Accept-Language</code> header as per section |
| 14.4 of RFC 2068 (HTTP 1.1 header field definitions).</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocaleTokenizer.html#LocaleTokenizer-java.lang.String-">LocaleTokenizer(String)</a></span> - Constructor for class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocaleTokenizer.html" title="class in org.apache.fulcrum.localization">LocaleTokenizer</a></dt> |
| <dd> |
| <div class="block">Parses the <code>Accept-Language</code> header.</div> |
| </dd> |
| <dt><a href="org/apache/fulcrum/localization/LocaleTokenizer.AcceptLanguage.html" title="class in org.apache.fulcrum.localization"><span class="typeNameLink">LocaleTokenizer.AcceptLanguage</span></a> - Class in <a href="org/apache/fulcrum/localization/package-summary.html">org.apache.fulcrum.localization</a></dt> |
| <dd> |
| <div class="block">Struct representing an element of the HTTP |
| <code>Accept-Language</code> header.</div> |
| </dd> |
| <dt><a href="org/apache/fulcrum/localization/LocalizationService.html" title="interface in org.apache.fulcrum.localization"><span class="typeNameLink">LocalizationService</span></a> - Interface in <a href="org/apache/fulcrum/localization/package-summary.html">org.apache.fulcrum.localization</a></dt> |
| <dd> |
| <div class="block"> |
| Provides localization functionality using the interface provided |
| by <code>ResourceBundle</code>, plus leverages a "search path" |
| style traversal of the <code>ResourceBundle</code> objects named by |
| the <code>locale.default.bundles</code> to discover a value for a |
| given key.</div> |
| </dd> |
| </dl> |
| <a name="I:N"> |
| <!-- --> |
| </a> |
| <h2 class="title">N</h2> |
| <dl> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocaleTokenizer.html#next--">next()</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocaleTokenizer.html" title="class in org.apache.fulcrum.localization">LocaleTokenizer</a></dt> |
| <dd> |
| <div class="block">Creates a <code>Locale</code> from the next element of the |
| <code>Accept-Language</code> header.</div> |
| </dd> |
| </dl> |
| <a name="I:O"> |
| <!-- --> |
| </a> |
| <h2 class="title">O</h2> |
| <dl> |
| <dt><a href="org/apache/fulcrum/localization/package-summary.html">org.apache.fulcrum.localization</a> - package org.apache.fulcrum.localization</dt> |
| <dd> </dd> |
| </dl> |
| <a name="I:R"> |
| <!-- --> |
| </a> |
| <h2 class="title">R</h2> |
| <dl> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocaleTokenizer.html#remove--">remove()</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocaleTokenizer.html" title="class in org.apache.fulcrum.localization">LocaleTokenizer</a></dt> |
| <dd> |
| <div class="block">Not implemented.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocalizationService.html#ROLE">ROLE</a></span> - Static variable in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocalizationService.html" title="interface in org.apache.fulcrum.localization">LocalizationService</a></dt> |
| <dd> </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#ROLE">ROLE</a></span> - Static variable in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> </dd> |
| </dl> |
| <a name="I:S"> |
| <!-- --> |
| </a> |
| <h2 class="title">S</h2> |
| <dl> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/LocalizationService.html#SERVICE_NAME">SERVICE_NAME</a></span> - Static variable in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/LocalizationService.html" title="interface in org.apache.fulcrum.localization">LocalizationService</a></dt> |
| <dd> </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#SERVICE_NAME">SERVICE_NAME</a></span> - Static variable in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html#setBundle-java.lang.String-">setBundle(String)</a></span> - Method in interface org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization">SimpleLocalizationService</a></dt> |
| <dd> |
| <div class="block">This method sets the name of the defaultBundle.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#setBundle-java.lang.String-">setBundle(String)</a></span> - Method in class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block">This method sets the name of the first bundle in the search |
| list (the "default" bundle).</div> |
| </dd> |
| <dt><a href="org/apache/fulcrum/localization/SimpleLocalizationService.html" title="interface in org.apache.fulcrum.localization"><span class="typeNameLink">SimpleLocalizationService</span></a> - Interface in <a href="org/apache/fulcrum/localization/package-summary.html">org.apache.fulcrum.localization</a></dt> |
| <dd> |
| <div class="block"> |
| Provides localization functionality using the interface provided |
| by <code>ResourceBundle</code>, plus leverages a "search path" |
| style traversal of the <code>ResourceBundle</code> objects named by |
| the <code>locale.default.bundles</code> to discover a value for a |
| given key.</div> |
| </dd> |
| <dt><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization"><span class="typeNameLink">SimpleLocalizationServiceImpl</span></a> - Class in <a href="org/apache/fulcrum/localization/package-summary.html">org.apache.fulcrum.localization</a></dt> |
| <dd> |
| <div class="block"> |
| This class is the single point of access to all localization |
| resources.</div> |
| </dd> |
| <dt><span class="memberNameLink"><a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html#SimpleLocalizationServiceImpl--">SimpleLocalizationServiceImpl()</a></span> - Constructor for class org.apache.fulcrum.localization.<a href="org/apache/fulcrum/localization/SimpleLocalizationServiceImpl.html" title="class in org.apache.fulcrum.localization">SimpleLocalizationServiceImpl</a></dt> |
| <dd> |
| <div class="block">Creates a new instance.</div> |
| </dd> |
| </dl> |
| <a href="#I:A">A</a> <a href="#I:C">C</a> <a href="#I:D">D</a> <a href="#I:E">E</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:H">H</a> <a href="#I:I">I</a> <a href="#I:L">L</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:R">R</a> <a href="#I:S">S</a> </div> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="org/apache/fulcrum/localization/package-summary.html">Package</a></li> |
| <li>Class</li> |
| <li>Use</li> |
| <li><a href="org/apache/fulcrum/localization/package-tree.html">Tree</a></li> |
| <li><a href="deprecated-list.html">Deprecated</a></li> |
| <li class="navBarCell1Rev">Index</li> |
| <li><a href="help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev</li> |
| <li>Next</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="index.html?index-all.html" target="_top">Frames</a></li> |
| <li><a href="index-all.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2005–1970 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |