public class CustomDecoder extends Object implements DataDecoder, Configurable
DataDecoder.Factory
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_PROPERTY_NAME |
Constructor and Description |
---|
CustomDecoder() |
Modifier and Type | Method and Description |
---|---|
Object |
decode(String data)
Decode the supplied String data into a new Object data instance.
|
Properties |
getConfiguration()
Get the component configuration.
|
DataDecoder |
getDelegateDecoder() |
void |
setConfiguration(Properties config)
Set the component configuration.
|
public static final String CLASS_PROPERTY_NAME
public void setConfiguration(Properties config) throws SmooksConfigurationException
Configurable
setConfiguration
in interface Configurable
config
- The component configuration properties.SmooksConfigurationException
- Bad component configuration.public Properties getConfiguration()
Configurable
getConfiguration
in interface Configurable
public Object decode(String data) throws DataDecodeException
DataDecoder
decode
in interface DataDecoder
data
- Data to be decoded.DataDecodeException
- Error decoding data.public DataDecoder getDelegateDecoder()
Copyright © 2020. All rights reserved.