StringConverterFactorypublic final class CharObjectArrayStringConverterFactory extends java.lang.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 | 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 StringConverterFactorycls - the type to lookup, not nulljava.lang.RuntimeException - (or subclass) if source code is invalidpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010–2018 Joda.org. All rights reserved.