borland Packages Class Hierarchy jb.util Package
LocaleUtil class
java.lang.Object
+----com.borland.jb.util.LocaleUtil
About the LocaleUtil class
Properties Methods
Returns the locale identified by a single string with "locale_country_variant" as returned by Locale.toString().
LocaleUtil properties
*Read-only properties **Write-only properties
Properties implemented in java.lang.Object
LocaleUtil methods
Methods implemented in this class
Methods implemented in java.lang.Object
- clone()
- equals(java.lang.Object)
- finalize()
- hashCode()
- notify()
- notifyAll()
- toString()
- wait()
- wait(long)
- wait(long, int)
LocaleUtil methods
getLocale(java.lang.String)
public static Locale getLocale(String localeString)
Returns the locale identified by a single string with "locale_country_variant" as returned by Locale.toString. This method may ultimately be replaced by a similar service in the java.util.Locale package.
Parameters:
- localeString
- A single string containing language, country, and variant, separated by '_'. A null or empty string yields the default locale. The country and variant are optional.