org.jboss.solder.util
Class Locales

java.lang.Object
  extended by org.jboss.solder.util.Locales

public class Locales
extends Object

Utilities for working with locales.

Author:
Pete Muir

Method Summary
static Locale toLocale(String localeName)
          Utility to convert a string using the standard format for specifying a Locale to a Locale object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toLocale

public static Locale toLocale(String localeName)
Utility to convert a string using the standard format for specifying a Locale to a Locale object.

Parameters:
localeName - the string providing the locale.
Returns:
the encoded Locale


Copyright © 2011 Seam Framework. All Rights Reserved.