public class ResourceManager extends Object
| Constructor and Description |
|---|
ResourceManager(String bundleName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceString(String key)
Extracts message from the resource bundle.
|
String |
getResourceString(String key,
String[] additionalInfo)
Extracts message from the resource bundle.
|
protected String |
manipulateString(String message,
String[] additionalInfo)
Manipulates messages.
|
public ResourceManager(String bundleName) throws MissingResourceException
MissingResourceExceptionpublic String getResourceString(String key)
messageKey - Key for the message that is to be extracted from the resource bundle.public String getResourceString(String key, String[] additionalInfo)
messageKey - Key for the message that is to be extracted from the resource bundle.additionalInfo - Additional String that is to be appended to the message string
extracted from resource bundleCopyright © 2003, 2023, Oracle and/or its affiliates.