|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.item.file.mapping.PassThroughLineMapper
public class PassThroughLineMapper
Pass through LineMapper useful for passing the original
String back directly rather than a mapped object.
| Constructor Summary | |
|---|---|
PassThroughLineMapper()
|
|
| Method Summary | |
|---|---|
java.lang.String |
mapLine(java.lang.String line,
int lineNumber)
Implementations must implement this method to map the provided line to the parameter type T. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PassThroughLineMapper()
| Method Detail |
|---|
public java.lang.String mapLine(java.lang.String line,
int lineNumber)
throws java.lang.Exception
LineMapper
mapLine in interface LineMapper<java.lang.String>line - to be mappedlineNumber - of the current line
java.lang.Exception - if error occured while parsing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||