Package | Description |
---|---|
sirius.kernel.nls |
Native language support used by SIRIUS.
|
Modifier and Type | Method and Description |
---|---|
static Formatter |
Formatter.create(String pattern)
Creates a new formatter with the given pattern.
|
static Formatter |
Formatter.create(String pattern,
String lang)
Creates a new formatter with the given pattern and language.
|
static Formatter |
Formatter.createURLFormatter(String pattern)
Creates a new formatter with auto url encoding turned on.
|
static Formatter |
NLS.fmtr(String property)
Creates a formatted using the pattern supplied by the translation value for the given property.
|
static Formatter |
NLS.fmtr(String property,
String lang)
Creates a formatted using the pattern supplied by the translation value for the given property.
|
Formatter |
Formatter.set(Map<String,Object> ctx)
Sets the whole context as parameters in this formatter.
|
Formatter |
Formatter.set(String property,
Object value)
Adds the replacement value to use for the given property.
|
Formatter |
Formatter.setDirect(String property,
String value,
boolean urlEncode)
Directly sets the given string value for the given property.
|
Formatter |
Formatter.setUnencoded(String property,
Object value)
Adds the replacement value to use for the given property, without url encoding the value.
|
Copyright © 2018. All rights reserved.