Class MessageFormatSupport.MessageCompiler

    • Constructor Detail

      • MessageCompiler

        protected MessageCompiler()
        Default Constructor.
    • Method Detail

      • lookupVariable

        protected String lookupVariable​(String name)
        Looks up the property with the given name. This replaces the name with the current index position.
        Specified by:
        lookupVariable in class PropertyLookupParser
        Parameters:
        name - the name of the property to look up.
        Returns:
        the translated value.
      • getFields

        public String[] getFields()
        Returns the collected fields as string-array. The order of the array contents matches the order of the index-position references in the translated message format.
        Returns:
        the fields as array.