public class HapiLocalizer extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
UNKNOWN_I18N_KEY_MESSAGE |
| Constructor and Description |
|---|
HapiLocalizer() |
HapiLocalizer(String... theBundleNames) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAllKeys() |
String |
getMessage(Class<?> theType,
String theKey,
Object... theParameters) |
String |
getMessage(String theQualifiedKey,
Object... theParameters) |
protected void |
init() |
static void |
setOurFailOnMissingMessage(boolean ourFailOnMissingMessage)
This global setting causes the localizer to fail if any attempts
are made to retrieve a key that does not exist.
|
public static final String UNKNOWN_I18N_KEY_MESSAGE
public HapiLocalizer()
public HapiLocalizer(String... theBundleNames)
public Set<String> getAllKeys()
public String getMessage(Class<?> theType, String theKey, Object... theParameters)
public String getMessage(String theQualifiedKey, Object... theParameters)
protected void init()
public static void setOurFailOnMissingMessage(boolean ourFailOnMissingMessage)
Copyright © 2014–2017 University Health Network. All rights reserved.