Class LAFMessageHandler

All Implemented Interfaces:
MessageHandler, Handler

public class LAFMessageHandler extends GlobalMessages
Author:
dhushon
  • Constructor Details

    • LAFMessageHandler

      public LAFMessageHandler()
  • Method Details

    • getInstance

      public static MessageHandler getInstance()
    • reinit

      protected void reinit()
    • calculateString

      protected String calculateString(String packageName, String key, Object[] parameters, Class<?> resourceClass)
      Description copied from class: GlobalMessages
      Returns the localized string for the given key and parameters in a bundle defined by the the concatenation of packageName and GlobalMessages.BUNDLE_NAME, using the provided resourceClass's class loader.
      Overrides:
      calculateString in class GlobalMessages
      Parameters:
      packageName - the package containing the localized messages
      key - the message key being looked up
      parameters - parameters within the looked up message
      resourceClass - the class whose class loader is used to getch the resource bundle
      Returns:
      the localized string for the given key and parameters in a bundle defined by the the concatenation of packageName and GlobalMessages.BUNDLE_NAME, using the provided resourceClass's class loader.