org.jpox.util
Class I18nUtils

java.lang.Object
  extended byorg.jpox.util.I18nUtils

public final class I18nUtils
extends java.lang.Object

Utility class for internationalization. This class provides a central location to do specialized formatting in both a default and a locale specfic manner.

Version:
$Revision: 1.2 $

Method Summary
static java.util.Locale getLocaleFromString(java.lang.String localeString)
          Convert a string based locale into a Locale Object language_country_variant Examples: "en", "de_DE", "_GB", "en_US_WIN", "de__POSIX", "fr_MAC"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLocaleFromString

public static java.util.Locale getLocaleFromString(java.lang.String localeString)
Convert a string based locale into a Locale Object language_country_variant Examples: "en", "de_DE", "_GB", "en_US_WIN", "de__POSIX", "fr_MAC"

Parameters:
localeString -
Returns:
the Locale


Copyright © -2007 . All Rights Reserved.