public interface RecordSeparatorPolicy
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEndOfRecord(String line)
Signal the end of a record based on the content of a line, being the
latest line read from an input source.
|
String |
postProcess(String record)
Give the policy a chance to post-process a complete record, e.g.
|
String |
preProcess(String record)
Pre-process a record before another line is appended, in the case of a
multi-line record.
|
boolean isEndOfRecord(String line)
BufferedReader.readLine() - i.e. no line separator character
at the end. But it might have line separators embedded in it.line - a String without a newline character at the end.String postProcess(String record)
record - the complete record.String preProcess(String record)
postProcess(String) will be).record - the current record.Copyright © 2014 SpringSource. All rights reserved.