| Constructor and Description |
|---|
ConverterRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConverter(Class from,
Class to,
Converter converter) |
Object |
convert(Class targetType,
Object value)
Converts
value to an object of type. |
Converter |
getConverter(Class from,
Class to) |
static ConverterRegistry |
instance() |
public Object convert(Class targetType, Object value)
Convertervalue to an object of type.public static ConverterRegistry instance()
Copyright © 2015. All rights reserved.