class BooleanConverter : Converter<Boolean>
A converter for boolean. This converter considered as 'true' : "true", "on", "1", "yes". All other values are considered as 'false' (as a consequence, 'null' is considered as 'false'). |
|
class CharacterConverter : Converter<Char>
A converter for character. Unlike other primitive types, characters cannot be created using 'valueOf'. Notice that only input having a length of 1 can be converted to characters. Other inputs are rejected. |
|
class ConstructorBasedConverter<T : Any> : Converter<T>
This 'default' converter tries to create objects using a constructor taking a single String argument. Be aware that implementation must also handle the case where the input is null. |
|
open class Converters
Entry point to the converter system. |
|
class FromBasedConverter<T : Any> : Converter<T>
This 'default' converter tries to create objects using a static 'from' method taking a single String argument. This converter is particularly convenient for builders. |
|
class FromStringBasedConverter<T : Any> : Converter<T>
This 'default' converter tries to create objects using a static 'from' method taking a single String argument. This converter is particularly convenient for converters themselves. |
|
class StringConverter : Converter<String>
Converts String to String, that's the easy one. |
|
class ValueOfBasedConverter<T : Any> : Converter<T>
This 'default' converter tries to create objects using a static 'valueOf' method taking a single String argument. This converter is particularly convenient to for enumeration and primitive types. |