public class PrefixedPropertiesValueSource extends AbstractDelegatingValueSource
Constructor and Description |
---|
PrefixedPropertiesValueSource(List<String> possiblePrefixes,
Properties properties,
boolean allowUnprefixedExpressions)
Wrap the specified properties file with a new
PropertiesBasedValueSource , then
wrap that source with a new PrefixedValueSourceWrapper that uses the specified
expression-prefix list. |
PrefixedPropertiesValueSource(String prefix,
Properties properties)
Wrap the specified properties file with a new
PropertiesBasedValueSource , then
wrap that source with a new PrefixedValueSourceWrapper that uses the specified
expression prefix. |
public PrefixedPropertiesValueSource(String prefix, Properties properties)
PropertiesBasedValueSource
, then
wrap that source with a new PrefixedValueSourceWrapper
that uses the specified
expression prefix. Finally, set this wrapper source as a delegate for this
instance to use.prefix
- The expression prefix to trimproperties
- The properties instance to wrappublic PrefixedPropertiesValueSource(List<String> possiblePrefixes, Properties properties, boolean allowUnprefixedExpressions)
PropertiesBasedValueSource
, then
wrap that source with a new PrefixedValueSourceWrapper
that uses the specified
expression-prefix list. Finally, set this wrapper source as a delegate for this
instance to use.possiblePrefixes
- The expression-prefix list to trimproperties
- The properties instance to wrapCopyright © 2001–2022 Codehaus Plexus. All rights reserved.