Interface AbstractEntityPropertiesService.MessageBundle

    • Method Detail

      • getPropertyMessage

        String getPropertyMessage​(String key,
                                  Object[] args,
                                  Locale locale)
        Try to resolve the message. Treat as an error if the message can't be found.
        Parameters:
        key - the code to lookup up, such as 'calculator.noRateSet'
        args - Array of arguments that will be filled in for params within the message (params look like "{0}", "{1,date}", "{2,time}" within a message), or null if none.
        locale - the Locale in which to do the lookup
        Returns:
        the resolved message
        Throws:
        IllegalArgumentException - is the arguments are invalid
        MissingResourceException - if the message wasn't found
      • getPropertyKeys

        List<String> getPropertyKeys​(Locale locale)
        Get all the keys for a specific Locale
        Parameters:
        locale - the Locale in which to do the lookup
        Returns:
        the list of all keys found for the given Locale