public final class Lang extends Property
Modifier and Type | Class and Description |
---|---|
static class |
Lang.Factory |
Property.Id
ILLEGAL_PARAMETER_MESSAGE
Constructor and Description |
---|
Lang(java.util.List<Parameter> params,
java.lang.String value)
Factory constructor.
|
Lang(java.util.Locale... locales) |
Modifier and Type | Method and Description |
---|---|
java.util.Locale[] |
getLocales() |
java.lang.String |
getValue() |
void |
validate() |
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getExtendedParameter, getExtendedParameters, getGroup, getId, getParameter, getParameters, getParameters, hashCode, toString
public Lang(java.util.Locale... locales)
locales
- one or more locales that define the language instancepublic Lang(java.util.List<Parameter> params, java.lang.String value)
params
- property parametersvalue
- string representation of a property value