public class LocalizedValue extends java.lang.Object implements Value
Constructor and Description |
---|
LocalizedValue() |
LocalizedValue(java.util.Locale defaultLocale) |
LocalizedValue(LocalizedValue localizedValue) |
Modifier and Type | Method and Description |
---|---|
void |
addString(java.util.Locale locale,
java.lang.String value) |
boolean |
equals(java.lang.Object obj) |
java.util.Set<java.util.Locale> |
getAvailableLocales() |
java.util.Locale |
getDefaultLocale() |
java.lang.String |
getString(java.util.Locale locale) |
java.util.Map<java.util.Locale,java.lang.String> |
getValues() |
int |
hashCode() |
boolean |
isLocalized() |
void |
setDefaultLocale(java.util.Locale defaultLocale) |
public LocalizedValue()
public LocalizedValue(java.util.Locale defaultLocale)
public LocalizedValue(LocalizedValue localizedValue)
public void addString(java.util.Locale locale, java.lang.String value)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.util.Set<java.util.Locale> getAvailableLocales()
getAvailableLocales
in interface Value
public java.util.Locale getDefaultLocale()
getDefaultLocale
in interface Value
public java.lang.String getString(java.util.Locale locale)
public java.util.Map<java.util.Locale,java.lang.String> getValues()
public int hashCode()
hashCode
in class java.lang.Object
public boolean isLocalized()
isLocalized
in interface Value
public void setDefaultLocale(java.util.Locale defaultLocale)
setDefaultLocale
in interface Value