public class TypeConverter extends Object
| Modifier and Type | Method and Description |
|---|---|
static TypeConverter |
convert(String value)
Creates a new type converter for the given value.
|
<T> T |
to(Class<T> targetType)
Converts the underlying string value to a primitive value.
|
public static TypeConverter convert(String value)
value - the value to be convertedpublic <T> T to(Class<T> targetType)
T - the type of the target typetargetType - the type into which the string value should be converted.Copyright © 2016 DevCon5 GmbH. All rights reserved.