| java.lang.Object org.enhydra.jawe.ResourceManager
ResourceManager | public class ResourceManager (Code) | | Utility for implementing multi language support, and other manipulation with property
files.
author: Sasa Bojanic |
getChoosenLocale | public static Locale getChoosenLocale()(Code) | | Returns the current locale.
|
getChoosenResourceBundle | public static ResourceBundle getChoosenResourceBundle()(Code) | | Returns the current locale.
|
getDefaultLocale | public static Locale getDefaultLocale()(Code) | | Returns the default locale.
|
getDefaultResourceBundle | public static ResourceBundle getDefaultResourceBundle()(Code) | | Returns the default resource bundle.
|
getLanguageDependentString | public static String getLanguageDependentString(String nm)(Code) | | Gets a language dependent string from the resource bundle.
Resource bundle represents the property file. For example, if property file
contains something like this:
menubar=file edit help method call
getLanguageDependentString("menubar") will give the string file edit help as
a result.
This method reads information from property file. If can't find desired resource,
returns null.
Parameters: nm - name of the resource to fetch. String value of named resource. |
reconfigure | public static void reconfigure()(Code) | | |
setDefault | public static void setDefault()(Code) | | |
setSystem | public static void setSystem()(Code) | | |
|
|