public class ConverterFactory
extends java.lang.Object
| Constructor and Description |
|---|
ConverterFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
configureType(ConverterType type)
Sets the
ConverterType, this factory should return when the getInstance method is called. |
static Converter |
getInstance()
Returns a
Converter instance of the configured type. |
public static Converter getInstance()
Converter instance of the configured type.configureType(ConverterType)public static void configureType(ConverterType type)
ConverterType, this factory should return when the getInstance method is called.type - the desired ConverterType