public class PassThroughLineDataMapper extends java.lang.Object implements LineDataMapper<java.lang.String>
LineDataMapper
implementation which just passes data as it is.Constructor and Description |
---|
PassThroughLineDataMapper() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
mapLine(java.lang.String line)
Implementations must implement this method to map the
provided line to the parameter type T.
|
public java.lang.String mapLine(java.lang.String line) throws java.lang.Exception
LineDataMapper
mapLine
in interface LineDataMapper<java.lang.String>
line
- to be mappedjava.lang.Exception
- if error occured while parsing.