Package com.portal.pfc.infranetui.sce
Class ResourceManager
java.lang.Object
com.portal.pfc.infranetui.sce.ResourceManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResourceString
(String key) Extracts message from the resource bundle.getResourceString
(String key, String[] additionalInfo) Extracts message from the resource bundle.protected String
manipulateString
(String message, String[] additionalInfo) Manipulates messages.
-
Constructor Details
-
ResourceManager
- Throws:
MissingResourceException
-
-
Method Details
-
getResourceString
Extracts message from the resource bundle.- Parameters:
messageKey
- Key for the message that is to be extracted from the resource bundle.
-
getResourceString
Extracts message from the resource bundle.- Parameters:
additionalInfo
- Additional String that is to be appended to the message string extracted from resource bundlemessageKey
- Key for the message that is to be extracted from the resource bundle.
-
manipulateString
Manipulates messages. This method replaces "%%?%%" with the passed in info.- Parameters:
message
- Message that is to be manipulatedadditionalInfo
- Additional String that is to be appended to the message
-