public class PassThroughLineMapper extends Object implements LineMapper<String>
LineMapper useful for passing the original
String back directly rather than a mapped object.| Constructor and Description |
|---|
PassThroughLineMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
mapLine(String line,
int lineNumber)
Implementations must implement this method to map the provided line to
the parameter type T.
|
public String mapLine(String line, int lineNumber) throws Exception
LineMappermapLine in interface LineMapper<String>line - to be mappedlineNumber - of the current lineException - if error occured while parsing.Copyright © 2021 Pivotal. All rights reserved.