|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.langmgr.LanguageDatabaseResourceBundleLoader
public class LanguageDatabaseResourceBundleLoader
A resource bundle loader interface for a language resources. See the Localization chapter of the Aria User Guide for more detail.
Aria uses standard property files for localization. These localization files can be set for an individual page (by setting the 'resource' attribute of the Page element or for the component factory. The project's resource manager is used to identify the current locale and the name of the property file by default.
Copyright (c) Formaria Ltd., 2008, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.
$Revision: 1.3 $
| Field Summary | |
|---|---|
protected Project |
currentProject
|
| Constructor Summary | |
|---|---|
LanguageDatabaseResourceBundleLoader(Project project)
Create a new resource bundle |
|
| Method Summary | |
|---|---|
java.util.ResourceBundle |
getResourceBundle(java.lang.String name)
Get the named resource bundle. |
static void |
setKeyField(java.lang.String keyFieldName)
Set the key field name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Project currentProject
| Constructor Detail |
|---|
public LanguageDatabaseResourceBundleLoader(Project project)
| Method Detail |
|---|
public java.util.ResourceBundle getResourceBundle(java.lang.String name)
getResourceBundle in interface ResourceBundleLoadername - the language name
public static void setKeyField(java.lang.String keyFieldName)
keyFieldName - the field name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||