org.jboss.portal.common.i18n
Class LocalizedString.Value

java.lang.Object
  extended by org.jboss.portal.common.i18n.LocalizedString.Value
Enclosing class:
LocalizedString

public static class LocalizedString.Value
extends java.lang.Object

A localized string value.


Constructor Summary
LocalizedString.Value(java.util.Locale locale, java.lang.String string)
           
 
Method Summary
 java.util.Locale getLocale()
           
 java.lang.String getString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalizedString.Value

public LocalizedString.Value(java.util.Locale locale,
                             java.lang.String string)
                      throws java.lang.IllegalArgumentException
Parameters:
locale - the locale
string - the string
Throws:
java.lang.IllegalArgumentException - if one argument is null
Method Detail

getLocale

public java.util.Locale getLocale()

getString

public java.lang.String getString()