Package org.joda.convert
Interface StringConverterFactory
- All Known Implementing Classes:
BooleanArrayStringConverterFactory
,BooleanObjectArrayStringConverterFactory
,ByteObjectArrayStringConverterFactory
,CharObjectArrayStringConverterFactory
,NumericArrayStringConverterFactory
,NumericObjectArrayStringConverterFactory
public interface StringConverterFactory
Factory for
StringConverter
that allows converters to be
created dynamically or easily initialised.
Implementations must be immutable and thread-safe.
- Since:
- 1.5
-
Method Summary
-
Method Details
-
findConverter
Finds a converter by type.- Parameters:
cls
- the type to lookup, not null- Returns:
- the converter, null if not found
- Throws:
RuntimeException
- (or subclass) if source code is invalid
-