| java.lang.Object com.sun.portal.util.GWLocale
GWLocale | public class GWLocale (Code) | | |
createDefault | public static void createDefault()(Code) | | |
getInstallResourceBundle | public static ResourceBundle getInstallResourceBundle(String bundle)(Code) | |
Gets resource bundle based on installed system locale.
Reads gateway.locale portal server system property (see SystemProperties ) and returns resource
bundle.
Parameters: bundle - bundle name resource bundle |
getLocale | public static java.util.Locale getLocale(String stringformat)(Code) | |
Gets locale object based on locale string.
The expected format of the locale string is of the form:
- language_country_variant
- language_country -or-
- language
If locale string is null , the locale is determined by the
java.util.Locale.getDefault() method.
Parameters: stringformat - string format of locale locale object |
getResourceBundle | public static ResourceBundle getResourceBundle(String bundle, String stringformat)(Code) | |
Gets a resource bundle.
Uses getLocale()
as defined here to resolve string format of locale.
Parameters: bundle - bundle name Parameters: stringformat - string format of locale resource bundle |
|
|