BooleanArrayStringConverterFactory
, BooleanObjectArrayStringConverterFactory
, ByteObjectArrayStringConverterFactory
, CharObjectArrayStringConverterFactory
, NumericArrayStringConverterFactory
, NumericObjectArrayStringConverterFactory
public interface StringConverterFactory
StringConverter
that allows converters to be
created dynamically or easily initialised.
Implementations must be immutable and thread-safe.
Modifier and Type | Method | Description |
---|---|---|
StringConverter<?> |
findConverter(java.lang.Class<?> cls) |
Finds a converter by type.
|
StringConverter<?> findConverter(java.lang.Class<?> cls)
cls
- the type to lookup, not nulljava.lang.RuntimeException
- (or subclass) if source code is invalid