|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.converter.Converters
public class Converters
A set of helper methods and classes to convert a few basic types NOTE: if this grows any bigger, we might want to consider moving to Camel @Converter's for this
| Constructor Summary | |
|---|---|
Converters()
|
|
| Method Summary | ||
|---|---|---|
|
as(java.lang.Object value,
java.lang.Class<T> target)
Convert an object to another type. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Converters()
| Method Detail |
|---|
public <T> T as(java.lang.Object value,
java.lang.Class<T> target)
null, this method will always return
null.
value - the object to be convertedtarget - the target object type
null if no suitable conversion was found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||