|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AugmentedPropertyNameAwarePropertiesParser
Interface for property parses that can attempt parsing property names using a fixed property name prefix and suffix.
Method Summary | |
---|---|
String |
parseUri(String text,
Properties properties,
String prefixToken,
String suffixToken,
String propertyPrefix,
String propertySuffix,
boolean fallbackToUnaugmentedProperty)
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. |
Methods inherited from interface org.apache.camel.component.properties.PropertiesParser |
---|
parseProperty, parseUri |
Method Detail |
---|
String parseUri(String text, Properties properties, String prefixToken, String suffixToken, String propertyPrefix, String propertySuffix, boolean fallbackToUnaugmentedProperty) 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 name
IllegalArgumentException
- if uri syntax is not valid or a property
is not found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |