public class PrefixedPropertiesValueSource extends AbstractDelegatingValueSource implements QueryEnabledValueSource
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. |
Modifier and Type | Method and Description |
---|---|
String |
getLastExpression() |
clearFeedback, getDelegate, getFeedback, getValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearFeedback, getFeedback, getValue
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 wrappublic String getLastExpression()
getLastExpression
in interface QueryEnabledValueSource
Copyright © 2019. All rights reserved.