public class PrefixedPropertiesValueSource extends AbstractDelegatingValueSource
| Constructor and Description |
|---|
PrefixedPropertiesValueSource(java.util.List<java.lang.String> possiblePrefixes,
java.util.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(java.lang.String prefix,
java.util.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. |
getDelegate, getValuepublic PrefixedPropertiesValueSource(java.lang.String prefix,
java.util.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(java.util.List<java.lang.String> possiblePrefixes,
java.util.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 wrap