public class DefaultPropertyPlaceholderResolver.RawSegment extends java.lang.Object implements DefaultPropertyPlaceholderResolver.Segment
Modifier and Type | Method and Description |
---|---|
<T> T |
getValue(java.lang.Class<T> type)
Returns the value of a given segment converted to
the provided type.
|
public <T> T getValue(java.lang.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