Interface MessagesSource

    • Method Detail

      • getMessages

        Messages getMessages(MessagesBundle bundle,
                             ComponentResourceSelector selector)
        Used to obtain a Messages instance for a particular component, within a particular locale. If the component extends from another component, then its localized properties will merge with its parent's properties (with the subclass overriding the super class on any conflicts).
        Parameters:
        bundle - defines the set of properties files to read, as well as a series of parent bundles to extend and override
        selector - defines the locale and other axes used to locate the necessary resources
        Returns:
        the message catalog for the bundle, for the indicated selector