public class ResourceTextResolver extends Object implements TextResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
MSG_KEY_INDICATOR |
| Constructor and Description |
|---|
ResourceTextResolver(ResourceBundle resBundle) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExceptionMessage(Exception e) |
Locale |
getLocale() |
ResourceBundle |
getResourceBundle() |
protected String |
resolveExceptionParam(EmpireException ee,
int index,
String param) |
String |
resolveKey(String key) |
String |
resolveText(String text) |
public static String MSG_KEY_INDICATOR
public ResourceTextResolver(ResourceBundle resBundle)
public final ResourceBundle getResourceBundle()
public Locale getLocale()
getLocale in interface TextResolverpublic String resolveKey(String key)
resolveKey in interface TextResolverpublic String resolveText(String text)
resolveText in interface TextResolverpublic String getExceptionMessage(Exception e)
getExceptionMessage in interface TextResolverprotected String resolveExceptionParam(EmpireException ee, int index, String param)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.