Class ResourceManager

java.lang.Object
com.portal.pfc.infranetui.sce.ResourceManager

public class ResourceManager extends Object
  • Constructor Details

  • Method Details

    • getResourceString

      public String getResourceString(String key)
      Extracts message from the resource bundle.
      Parameters:
      messageKey - Key for the message that is to be extracted from the resource bundle.
    • getResourceString

      public String getResourceString(String key, String[] additionalInfo)
      Extracts message from the resource bundle.
      Parameters:
      additionalInfo - Additional String that is to be appended to the message string extracted from resource bundle
      messageKey - Key for the message that is to be extracted from the resource bundle.
    • manipulateString

      protected String manipulateString(String message, String[] additionalInfo)
      Manipulates messages. This method replaces "%%?%%" with the passed in info.
      Parameters:
      message - Message that is to be manipulated
      additionalInfo - Additional String that is to be appended to the message