public class PrefixedPropertiesValueSource extends AbstractDelegatingValueSource implements QueryEnabledValueSource
| 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. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLastExpression() |
clearFeedback, getDelegate, getFeedback, getValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearFeedback, getFeedback, 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 wrappublic java.lang.String getLastExpression()
getLastExpression in interface QueryEnabledValueSourceCopyright © 2013. All Rights Reserved.