public class Converters
extends java.lang.Object
| Constructor and Description |
|---|
Converters() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
as(java.lang.Object value,
java.lang.Class<T> target)
Convert an object to another type.
|
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 typenull if no suitable conversion was foundCopyright © 2005-2014 FuseSource. All Rights Reserved.