Class DefaultPropertiesLookup
java.lang.Object
org.apache.camel.component.properties.DefaultPropertiesLookup
- All Implemented Interfaces:
PropertiesLookup
Default
PropertiesLookup
which lookup properties from a Properties
with all existing
properties.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultPropertiesLookup
-
-
Method Details
-
lookup
Description copied from interface:PropertiesLookup
Lookup the property with the given name- Specified by:
lookup
in interfacePropertiesLookup
- Parameters:
name
- property namedefaultValue
- default value for the property (if any exists)- Returns:
- the property value, or null if the properties does not exist.
-