Interface PropertiesLookup

All Known Implementing Classes:
DefaultPropertiesLookup
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PropertiesLookup
Used by PropertiesParser to lookup properties by their name
  • Method Summary

    Modifier and Type
    Method
    Description
    lookup(String name, String defaultValue)
    Lookup the property with the given name
  • Method Details

    • lookup

      String lookup(String name, String defaultValue)
      Lookup the property with the given name
      Parameters:
      name - property name
      defaultValue - default value for the property (if any exists)
      Returns:
      the property value, or null if the properties does not exist.