java.lang.Object
org.joda.convert.factory.BooleanArrayStringConverterFactory
- All Implemented Interfaces:
StringConverterFactory
public final class BooleanArrayStringConverterFactory
extends Object
implements StringConverterFactory
Factory for
StringConverter
providing support for primitive boolean array
as a sequence of 'T' and 'F'.
This is intended as a human readable format, not a compact format.
To use, simply register the instance with a StringConvert
instance.
This class is immutable and thread-safe.
- Since:
- 1.5
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfindConverter
(Class<?> cls) Finds a converter by type.toString()
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Method Details
-
findConverter
Finds a converter by type.- Specified by:
findConverter
in interfaceStringConverterFactory
- Parameters:
cls
- the type to lookup, not null- Returns:
- the converter, null if not found
- Throws:
RuntimeException
- (or subclass) if source code is invalid
-
toString
-