Package org.passay

Class ResourceBundleMessageResolver

    • Constructor Detail

      • ResourceBundleMessageResolver

        public ResourceBundleMessageResolver()
        Creates a new message resolver with the default message map.
      • ResourceBundleMessageResolver

        public ResourceBundleMessageResolver​(ResourceBundle bundle)
        Creates a new message resolver with the supplied resource bundle.
        Parameters:
        bundle - locale specific map of keys to messages.
    • Method Detail

      • getDefaultBundle

        public static ResourceBundle getDefaultBundle()
        Returns the default resource bundle which is found in passay.properties.
        Returns:
        default resource bundle.