public class PreprocessDecoder extends Object implements DataDecoder, Configurable
DataDecoder.Factory| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_DECODER |
static String |
VALUE_PRE_PROCESSING |
| Constructor and Description |
|---|
PreprocessDecoder() |
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(String data)
Decode the supplied String data into a new Object data instance.
|
DataDecoder |
getBaseDecoder() |
Properties |
getConfiguration()
Get the component configuration.
|
void |
setBaseDecoder(DataDecoder baseDecoder) |
void |
setConfiguration(Properties config)
Set the component configuration.
|
public static final String VALUE_PRE_PROCESSING
public static final String BASE_DECODER
public void setConfiguration(Properties config) throws SmooksException
ConfigurablesetConfiguration in interface Configurableconfig - The component configuration properties.SmooksExceptionpublic Properties getConfiguration()
ConfigurablegetConfiguration in interface Configurablepublic void setBaseDecoder(DataDecoder baseDecoder)
public DataDecoder getBaseDecoder()
public Object decode(String data) throws DataDecodeException
DataDecoderdecode in interface DataDecoderdata - Data to be decoded.DataDecodeException - Error decoding data.Copyright © 2020. All rights reserved.