Interface MessageHandler

  • All Superinterfaces:
    Handler
    All Known Implementing Classes:
    AbstractMessageHandler, GlobalMessages, LAFMessageHandler

    public interface MessageHandler
    extends Handler
    Standard Message handler that takes a root package, plus key and resolves that into one/more resultant messages. This Handler is used by all message types to enable flexible look and feel as well as i18n to be implemented in variable ways.
    Author:
    dhushon
    • Method Detail

      • getString

        String getString​(String key)
        get a key from the default (System global) bundle
        Parameters:
        key -
        Returns:
      • getString

        String getString​(String packageName,
                         String key)
        get a key from the defined package bundle, by key
        Parameters:
        packageName -
        key -
        Returns:
      • getString

        String getString​(String packageName,
                         String key,
                         String... parameters)
        get a key from the defined package bundle, by key
        Parameters:
        packageName -
        key -
        parameters -
        Returns:
      • getString

        String getString​(String packageName,
                         String key,
                         Class<?> resourceClass,
                         String... parameters)
        Get a string from the defined package bundle, by key and by a resource class
        Parameters:
        packageName -
        key -
        resourceClass -
        parameters -
        Returns: