|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.joda.convert.factory.NumericObjectArrayStringConverterFactory
public final class NumericObjectArrayStringConverterFactory
Factory for StringConverter providing support for numeric object arrays
as a comma separated list, using '-' for null.
To use, simply register the instance with a StringConvert instance.
This class is immutable and thread-safe.
| Field Summary | |
|---|---|
static StringConverterFactory |
INSTANCE
Singleton instance. |
| Method Summary | |
|---|---|
StringConverter<?> |
findConverter(Class<?> cls)
Finds a converter by type. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final StringConverterFactory INSTANCE
| Method Detail |
|---|
public StringConverter<?> findConverter(Class<?> cls)
findConverter in interface StringConverterFactorycls - the type to lookup, not null
RuntimeException - (or subclass) if source code is invalidpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||