public class NullIfExceptionMapper extends Object implements Mapper
Constructor and Description |
---|
NullIfExceptionMapper(Mapper parent)
Create a new CropStringMapper.
|
Modifier and Type | Method and Description |
---|---|
Float |
getFloat(FlatFileParser.Data data)
Get the value for the line of data as a float.
|
Integer |
getInt(FlatFileParser.Data data)
Get the value for the line of data as an integer.
|
String |
getValue(FlatFileParser.Data data)
Get the value for the line of data.
|
private final Mapper parent
public NullIfExceptionMapper(Mapper parent)
parent
- The parent mapper that does the actual mappingpublic String getValue(FlatFileParser.Data data)
Mapper
public Integer getInt(FlatFileParser.Data data)
Mapper
public Float getFloat(FlatFileParser.Data data)
Mapper