String to a specified
target type.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canConvertTo(Class<?> targetType)
Determine if this converter can convert from a |
| public @Nullable Object | |
| public default @Nullable Object |
| canConvertTo | back to summary |
|---|---|
| public boolean canConvertTo(Class<?> targetType) Determine if this converter can convert from a | |
| convert | back to summary |
|---|---|
| public @Nullable Object convert(String source, Class<?> targetType) throws Exception Convert the supplied This method will only be invoked if | |
| convert | back to summary |
|---|---|
| public default @Nullable Object convert(String source, Class<?> targetType, ClassLoader classLoader) throws Exception Convert the supplied This method will only be invoked if The default implementation simply delegates to | |