public class NullIfExceptionMapper extends java.lang.Object implements Mapper
Constructor and Description |
---|
NullIfExceptionMapper(Mapper parent)
Create a new CropStringMapper.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Float |
getFloat(FlatFileParser.Data data)
Get the value for the line of data as a float.
|
java.lang.Integer |
getInt(FlatFileParser.Data data)
Get the value for the line of data as an integer.
|
java.lang.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 java.lang.String getValue(FlatFileParser.Data data)
Mapper
public java.lang.Integer getInt(FlatFileParser.Data data)
Mapper
public java.lang.Float getFloat(FlatFileParser.Data data)
Mapper