Polish ConfigurablePropertyResolver Javadoc
This commit is contained in:
parent
0304a4b74d
commit
6ae04eb7e6
|
|
@ -104,14 +104,26 @@ public abstract class AbstractPropertyResolver implements ConfigurablePropertyRe
|
|||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc} The default is "${".
|
||||
* @see org.springframework.util.SystemPropertyUtils#PLACEHOLDER_PREFIX
|
||||
*/
|
||||
public void setPlaceholderPrefix(String placeholderPrefix) {
|
||||
this.placeholderPrefix = placeholderPrefix;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc} The default is "}".
|
||||
* @see org.springframework.util.SystemPropertyUtils#PLACEHOLDER_SUFFIX
|
||||
*/
|
||||
public void setPlaceholderSuffix(String placeholderSuffix) {
|
||||
this.placeholderSuffix = placeholderSuffix;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc} The default is ":".
|
||||
* @see org.springframework.util.SystemPropertyUtils#VALUE_SEPARATOR
|
||||
*/
|
||||
public void setValueSeparator(String valueSeparator) {
|
||||
this.valueSeparator = valueSeparator;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,10 +44,21 @@ public interface ConfigurablePropertyResolver extends PropertyResolver {
|
|||
*/
|
||||
void setConversionService(ConversionService conversionService);
|
||||
|
||||
/**
|
||||
* Set the prefix that placeholders replaced by this resolver must begin with.
|
||||
*/
|
||||
void setPlaceholderPrefix(String placeholderPrefix);
|
||||
|
||||
/**
|
||||
* Set the suffix that placeholders replaced by this resolver must end with.
|
||||
*/
|
||||
void setPlaceholderSuffix(String placeholderSuffix);
|
||||
|
||||
/**
|
||||
* Specify the separating character between the placeholders replaced by this
|
||||
* resolver and their associated default value, or {@code null} if no such
|
||||
* special character should be processed as a value separator.
|
||||
*/
|
||||
void setValueSeparator(String valueSeparator);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue