Class DefaultLookUp

  • All Implemented Interfaces:
    org.apache.commons.text.lookup.StringLookup

    public class DefaultLookUp
    extends Object
    implements org.apache.commons.text.lookup.StringLookup
    Default String Lookup used during variable replacement.
    • Constructor Detail

      • DefaultLookUp

        public DefaultLookUp()
    • Method Detail

      • lookup

        public String lookup​(String key)
        Search the given property within the Thread properties first, it not found, it will try to locate the property in the System properties.
        Specified by:
        lookup in interface org.apache.commons.text.lookup.StringLookup
        Parameters:
        key - key to look for
        Returns:
        the value for the given key