StringConverterFactory
public final class BooleanObjectArrayStringConverterFactory extends java.lang.Object implements StringConverterFactory
StringConverter
providing support for Boolean object array
as a sequence of 'T', 'F' and '-' for null.
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 | Description |
---|---|---|
static StringConverterFactory |
INSTANCE |
Singleton instance.
|
Modifier and Type | Method | Description |
---|---|---|
StringConverter<?> |
findConverter(java.lang.Class<?> cls) |
Finds a converter by type.
|
java.lang.String |
toString() |
public static final StringConverterFactory INSTANCE
public StringConverter<?> findConverter(java.lang.Class<?> cls)
findConverter
in interface StringConverterFactory
cls
- the type to lookup, not nulljava.lang.RuntimeException
- (or subclass) if source code is invalidpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010–2018 Joda.org. All rights reserved.