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() |
public String mapLine(String line, int lineNumber) throws Exception
LineMapper
mapLine
in interface LineMapper<String>
line
- to be mappedlineNumber
- of the current lineException
- if error occured while parsing.Copyright © 2014 Pivotal. All rights reserved.