public final class CharObjectArrayStringConverterFactory extends Object implements StringConverterFactory
StringConverter providing support for Character object arrays
as a string, using backslash as an escape.
Double backslash is a backslash. One backslash followed by a dash is null.
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 StringConverterFactorycls - the type to lookup, not nullRuntimeException - (or subclass) if source code is invalidCopyright © 2010–2017 Joda.org. All rights reserved.