public interface PropertiesParser
Modifier and Type | Method and Description |
---|---|
String |
parseProperty(String key,
String value,
PropertiesLookup properties)
While parsing the uri using parseUri method each parsed property found invokes this callback.
|
String |
parseUri(String text,
PropertiesLookup properties,
boolean fallback)
Parses the string and replaces the property placeholders with values from the given properties.
|
String parseUri(String text, PropertiesLookup properties, boolean fallback) throws IllegalArgumentException
text
- the text to be parsedproperties
- the properties resolved which values should be looked upfallback
- whether to support using fallback values if a property cannot be foundIllegalArgumentException
- if uri syntax is not valid or a property is not foundString parseProperty(String key, String value, PropertiesLookup properties)
key
- the keyvalue
- the valueproperties
- the properties resolved which values should be looked upApache Camel