Package org.apache.camel.impl.converter
Class StaticMethodTypeConverter
- java.lang.Object
-
- org.apache.camel.support.TypeConverterSupport
-
- org.apache.camel.impl.converter.StaticMethodTypeConverter
-
- All Implemented Interfaces:
org.apache.camel.TypeConverter
public class StaticMethodTypeConverter extends org.apache.camel.support.TypeConverterSupport
ATypeConverter
implementation which invokes a static method to convert from a type to another type
-
-
Constructor Summary
Constructors Constructor Description StaticMethodTypeConverter(Method method, boolean allowNull)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowNull()
<T> T
convertTo(Class<T> type, org.apache.camel.Exchange exchange, Object value)
String
toString()
-
-
-
Constructor Detail
-
StaticMethodTypeConverter
public StaticMethodTypeConverter(Method method, boolean allowNull)
-
-