public interface AugmentedPropertyNameAwarePropertiesParser extends PropertiesParser
Modifier and Type | Method and Description |
---|---|
String |
parseUri(String text,
Properties properties,
String prefixToken,
String suffixToken,
String propertyPrefix,
String propertySuffix,
boolean fallbackToUnaugmentedProperty,
boolean defaultFallbackEnabled)
Parses the string, applying the optional
propertyPrefix and
propertySuffix to the parsed property names, and replaces the
property placeholders with values from the given properties. |
parseProperty, parseUri
String parseUri(String text, Properties properties, String prefixToken, String suffixToken, String propertyPrefix, String propertySuffix, boolean fallbackToUnaugmentedProperty, boolean defaultFallbackEnabled) throws IllegalArgumentException
propertyPrefix
and
propertySuffix
to the parsed property names, and replaces the
property placeholders with values from the given properties.text
- the text to be parsedproperties
- the properties resolved which values should be looked
upprefixToken
- the prefix tokensuffixToken
- the suffix tokenpropertyPrefix
- the optional property name prefix to augment parsed
property names withpropertySuffix
- the optional property name suffix to augment parsed
property names withfallbackToUnaugmentedProperty
- flag indicating if the originally
parsed property name should by used for resolution if there is
no match to the augmented property namedefaultFallbackEnabled
- flag indicating if the value after colon
should be the default value to use it
the property has not been resolvedIllegalArgumentException
- if uri syntax is not valid or a property
is not foundApache Camel