|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.converter.PropertyEditorTypeConverter
public class PropertyEditorTypeConverter
Uses the PropertyEditor conversion system to convert Objects to
and from String values.
| Constructor Summary | |
|---|---|
PropertyEditorTypeConverter()
|
|
| Method Summary | ||
|---|---|---|
|
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). |
|
|
convertTo(Class<T> type,
Object value)
Converts the value to the specified type |
|
|
mandatoryConvertTo(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). |
|
|
mandatoryConvertTo(Class<T> type,
Object value)
Converts the value to the specified type |
|
| 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 <T> T convertTo(Class<T> type,
Object value)
TypeConverter
convertTo in interface TypeConvertertype - the requested typevalue - the value to be converted
public <T> T convertTo(Class<T> type,
Exchange exchange,
Object value)
TypeConverter
convertTo in interface TypeConvertertype - the requested typeexchange - the current exchangevalue - the value to be converted
public <T> T mandatoryConvertTo(Class<T> type,
Object value)
TypeConverter
mandatoryConvertTo in interface TypeConvertertype - the requested typevalue - the value to be converted
public <T> T mandatoryConvertTo(Class<T> type,
Exchange exchange,
Object value)
TypeConverter
mandatoryConvertTo in interface TypeConvertertype - the requested typeexchange - the current exchangevalue - the value to be converted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||