|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.batch.item.file.separator.SimpleRecordSeparatorPolicy
public class SimpleRecordSeparatorPolicy
Simplest possible RecordSeparatorPolicy
- treats all lines as record
endings.
Constructor Summary | |
---|---|
SimpleRecordSeparatorPolicy()
|
Method Summary | |
---|---|
boolean |
isEndOfRecord(String line)
Always returns true. |
String |
postProcess(String record)
Pass the record through. |
String |
preProcess(String line)
Pass the line through. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleRecordSeparatorPolicy()
Method Detail |
---|
public boolean isEndOfRecord(String line)
isEndOfRecord
in interface RecordSeparatorPolicy
line
- a String without a newline character at the end.
RecordSeparatorPolicy.isEndOfRecord(java.lang.String)
public String postProcess(String record)
postProcess
in interface RecordSeparatorPolicy
record
- the complete record.
RecordSeparatorPolicy.postProcess(java.lang.String)
public String preProcess(String line)
preProcess
in interface RecordSeparatorPolicy
line
- the current record.
RecordSeparatorPolicy.preProcess(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |