public class DefaultDataFormatResolver extends Object implements DataFormatResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
DATAFORMAT_RESOURCE_PATH |
| Constructor and Description |
|---|
DefaultDataFormatResolver() |
| Modifier and Type | Method and Description |
|---|---|
DataFormat |
createDataFormat(String name,
CamelContext context)
Creates the given data format given its name.
|
DataFormat |
resolveDataFormat(String name,
CamelContext context)
Resolves the given data format given its name.
|
public static final String DATAFORMAT_RESOURCE_PATH
public DefaultDataFormatResolver()
public DataFormat resolveDataFormat(String name, CamelContext context)
DataFormatResolverresolveDataFormat in interface DataFormatResolvername - the name of the data format to lookup in Registry or createcontext - the camel contextpublic DataFormat createDataFormat(String name, CamelContext context)
DataFormatResolvercreateDataFormat in interface DataFormatResolvername - the name of the data format factory to lookup in Registry or createcontext - the camel contextApache Camel