class StringToBooleanConverter extends java.lang.Object implements StringToObjectConverter
| Constructor and Description |
|---|
StringToBooleanConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(java.lang.Class<?> targetType)
Determine if this converter can convert from a
String to the
supplied target type (which is guaranteed to be a wrapper type for
primitives — for example, Integer instead of int). |
java.lang.Object |
convert(java.lang.String source,
java.lang.Class<?> targetType)
Convert the supplied
String to the supplied target type (which is
guaranteed to be a wrapper type for primitives — for example,
Integer instead of int). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertpublic boolean canConvert(java.lang.Class<?> targetType)
StringToObjectConverterString to the
supplied target type (which is guaranteed to be a wrapper type for
primitives — for example, Integer instead of int).canConvert in interface StringToObjectConverterpublic java.lang.Object convert(java.lang.String source,
java.lang.Class<?> targetType)
StringToObjectConverterString to the supplied target type (which is
guaranteed to be a wrapper type for primitives — for example,
Integer instead of int).convert in interface StringToObjectConverter