|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.impl.converter.PropertyEditorTypeConverter
@Deprecated public class PropertyEditorTypeConverter
Uses the PropertyEditor
conversion system to convert Objects to
and from String values.
Constructor Summary | |
---|---|
PropertyEditorTypeConverter()
Deprecated. |
Method Summary | ||
---|---|---|
void |
clear()
Deprecated. |
|
|
convertTo(Class<T> type,
Exchange exchange,
Object value)
Deprecated. 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). |
|
|
convertTo(Class<T> type,
Object value)
Deprecated. Converts the value to the specified type |
|
|
mandatoryConvertTo(Class<T> type,
Exchange exchange,
Object value)
Deprecated. 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). |
|
|
mandatoryConvertTo(Class<T> type,
Object value)
Deprecated. Converts the value to the specified type |
|
|
tryConvertTo(Class<T> type,
Exchange exchange,
Object value)
Deprecated. Tries to convert the value to the specified type in the context of an exchange, returning null if not possible to convert. |
|
|
tryConvertTo(Class<T> type,
Object value)
Deprecated. Tries to convert the value to the specified type, returning null if not possible to convert. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyEditorTypeConverter()
Method Detail |
---|
public void clear()
public <T> T convertTo(Class<T> type, Object value)
TypeConverter
convertTo
in interface TypeConverter
type
- the requested typevalue
- the value to be converted
public <T> T convertTo(Class<T> type, Exchange exchange, Object value)
TypeConverter
convertTo
in interface TypeConverter
type
- the requested typeexchange
- the current exchangevalue
- the value to be converted
public <T> T mandatoryConvertTo(Class<T> type, Object value)
TypeConverter
mandatoryConvertTo
in interface TypeConverter
type
- the requested typevalue
- the value to be converted
public <T> T mandatoryConvertTo(Class<T> type, Exchange exchange, Object value)
TypeConverter
mandatoryConvertTo
in interface TypeConverter
type
- the requested typeexchange
- the current exchangevalue
- the value to be converted
public <T> T tryConvertTo(Class<T> type, Exchange exchange, Object value)
TypeConverter
tryConvertTo
in interface TypeConverter
type
- the requested typeexchange
- the current exchangevalue
- the value to be converted
public <T> T tryConvertTo(Class<T> type, Object value)
TypeConverter
tryConvertTo
in interface TypeConverter
type
- the requested typevalue
- the value to be converted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |