public final class BooleanArrayStringConverterFactory extends Object implements StringConverterFactory
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.
Modifier and Type | Field and Description |
---|---|
static StringConverterFactory |
INSTANCE
Singleton instance.
|
Modifier and Type | Method and Description |
---|---|
StringConverter<?> |
findConverter(Class<?> cls)
Finds a converter by type.
|
String |
toString() |
public static final StringConverterFactory INSTANCE
public StringConverter<?> findConverter(Class<?> cls)
findConverter
in interface StringConverterFactory
cls
- the type to lookup, not nullRuntimeException
- (or subclass) if source code is invalidCopyright © 2010–2016 Joda.org. All rights reserved.