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.Segment
getValue
in interface DefaultPropertyPlaceholderResolver.Segment
T
- The type to convert the value totype
- The classConfigurationException
- If any error occurs