public class SimpleTypeCasterFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SimpleTypeCasterFactory.CharacterCaster
Cast implementation for char values.
|
Constructor and Description |
---|
SimpleTypeCasterFactory() |
Modifier and Type | Method and Description |
---|---|
static SimpleTypeCaster |
getCaster(Class fromType,
Class targetType)
Returns a caster that casts to a target type.
|
public static SimpleTypeCaster getCaster(Class fromType, Class targetType)
fromType
- can be null, if not knowntargetType
- to cast to