Class PropertiesBasedValueSource

    • Constructor Detail

      • PropertiesBasedValueSource

        public PropertiesBasedValueSource​(Properties properties)
        Wrap the specified Properties object for use as a value source. Nulls are allowed.
        Parameters:
        properties - The properties instance to wrap.
    • Method Detail

      • getValue

        public Object getValue​(String expression)
        Parameters:
        expression - The string expression.
        Returns:
        the result of Properties.getProperty(String), using the entire expression as the key to lookup. If the wrapped properties instance is null, simply return null.