public final class NumericArrayStringConverterFactory extends java.lang.Object implements StringConverterFactory
StringConverter
providing support for primitive arrays
as a comma separated list.
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(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-2013 Joda.org. All Rights Reserved.