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
ConfigurablesetConfiguration in interface Configurableconfig - The component configuration properties.SmooksConfigurationException - Bad component configuration.public Properties getConfiguration()
ConfigurablegetConfiguration in interface Configurablepublic Object decode(String data) throws DataDecodeException
DataDecoderdecode in interface DataDecoderdata - Data to be decoded.DataDecodeException - Error decoding data.public DataDecoder getDelegateDecoder()
Copyright © 2020. All rights reserved.