public class DefaultPropertyPlaceholderResolver.PlaceholderSegment extends java.lang.Object implements DefaultPropertyPlaceholderResolver.Segment
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getExpressions() |
<T> T |
getValue(java.lang.Class<T> type)
Returns the value of a given segment converted to
the provided type.
|
public java.util.List<java.lang.String> getExpressions()
public <T> T getValue(java.lang.Class<T> type)
throws ConfigurationException
DefaultPropertyPlaceholderResolver.SegmentgetValue in interface DefaultPropertyPlaceholderResolver.SegmentT - The type to convert the value totype - The classConfigurationException - If any error occurs