public static class DataDecoder.Factory extends Object
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
static DataDecoder |
create(Class targetType) |
static DataDecoder |
create(String typeAlias)
Attempt to construct a decoder instance from it's type alias based on the
packaging and naming convention used in the
org.milyn.javabean.decoders package. |
static Map<Class,Class<? extends DataDecoder>> |
getInstalledDecoders()
Get the full set of installed decoders, keyed by the decode type.
|
static Class<? extends DataDecoder> |
getInstance(Class targetType) |
public static DataDecoder create(Class targetType) throws DataDecodeException
DataDecodeExceptionpublic static Class<? extends DataDecoder> getInstance(Class targetType)
public static Map<Class,Class<? extends DataDecoder>> getInstalledDecoders()
public static DataDecoder create(String typeAlias) throws DataDecodeException
org.milyn.javabean.decoders package.typeAlias - Decoder alias used to construct an instance by prefixing the
alias with the "decoders" package and suffixing it with the word "Decoder".DataDecodeException - Failed to load alias decoder.Copyright © 2020. All rights reserved.