| Package | Description |
|---|---|
| org.bbottema.javareflection |
| Modifier and Type | Method and Description |
|---|---|
static Object |
ValueConverter.convert(Boolean value,
Class<?> targetType)
Attempts to convert a
Boolean to the target datatype. |
static Object |
ValueConverter.convert(Character value,
Class<?> targetType)
Attempts to convert a
Character to the target datatype. |
static Object |
ValueConverter.convert(Number value,
Class<?> targetType)
Attempts to convert a
Number to the target datatype. |
static Object[] |
ValueConverter.convert(Object[] args,
Class<?>[] targetTypes,
boolean useOriginalValueWhenIncompatible)
Converts a list of values to their converted form, as indicated by the specified targetTypes.
|
static Object |
ValueConverter.convert(Object value,
Class<?> targetType)
Converts a single value into a target output datatype.
|
static Object |
ValueConverter.convert(String value,
Class<?> targetType)
Attempts to convert a
String to the target datatype. |
Copyright © 2018. All rights reserved.