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