|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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(java.lang.String line)
Always returns true. |
java.lang.String |
postProcess(java.lang.String record)
Pass the record through. |
java.lang.String |
preProcess(java.lang.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(java.lang.String line)
isEndOfRecord in interface RecordSeparatorPolicyline - a String without a newline character at the end.
RecordSeparatorPolicy.isEndOfRecord(java.lang.String)public java.lang.String postProcess(java.lang.String record)
postProcess in interface RecordSeparatorPolicyrecord - the complete record.
RecordSeparatorPolicy.postProcess(java.lang.String)public java.lang.String preProcess(java.lang.String line)
preProcess in interface RecordSeparatorPolicyline - the current record.
RecordSeparatorPolicy.preProcess(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||