public class EnumTypeConverter extends TypeConverterSupport
Constructor and Description |
---|
EnumTypeConverter() |
Modifier and Type | Method and Description |
---|---|
<T> T |
convertTo(Class<T> type,
Exchange exchange,
Object value)
Converts the value to the specified type in the context of an exchange
Used when conversion requires extra information from the current
exchange (such as encoding).
|
allowNull, convertTo, mandatoryConvertTo, mandatoryConvertTo, tryConvertTo, tryConvertTo
public EnumTypeConverter()
public <T> T convertTo(Class<T> type, Exchange exchange, Object value)
TypeConverter
type
- the requested typeexchange
- the current exchangevalue
- the value to be convertedApache Camel