public final class TranscoderFactory extends Object
| Modifier and Type | Field and Description | 
|---|---|
private static Map<String,ValueTranscoder<?>> | 
TRANSCODERS
Value transcoders. 
 | 
| Modifier | Constructor and Description | 
|---|---|
private  | 
TranscoderFactory()
Default constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected static ValueTranscoder<?> | 
createValueTranscoder(String type)
Creates a value transcoder for the supplied type. 
 | 
static ValueTranscoder<?> | 
getInstance(String type)
Returns a value transcoder for the supplied type. 
 | 
private static final Map<String,ValueTranscoder<?>> TRANSCODERS
public static ValueTranscoder<?> getInstance(String type)
type - of value transcoderprotected static ValueTranscoder<?> createValueTranscoder(String type)
type - to create value transcoder forIllegalArgumentException - if the supplied type cannot be instantiatedCopyright © 2003-2019 Virginia Tech. All Rights Reserved.