Class ExpressionProperties

    • Constructor Detail

      • ExpressionProperties

        public ExpressionProperties​(Properties... defaults)
        Creates an empty property list with the specified defaults.
        Parameters:
        defaults - java.util.Properties
    • Method Detail

      • getProperty

        public String getProperty​(String key)

        Returns property value with all ${propKey} like references replaced with the value of the relevant property with recursive resolution.

        The method returns null if the property is not found.

        Overrides:
        getProperty in class Properties
        Parameters:
        key - the property key.
        Returns:
        the value in this property list with the specified key value.
      • getRawPropertyValue

        public String getRawPropertyValue​(String key)
        Returns raw value of a property without any replacements.
        Parameters:
        key - property name
        Returns:
        raw property value