@NonNullApi
程序包 org.springframework.batch.item.file.separator
Infrastructure implementations of io file support separator concerns.
接口概要 接口 说明 RecordSeparatorPolicy Policy for text file-based input sources to determine the end of a record, e.g. a record might be a single line, or it might be multiple lines terminated by a semicolon.类概要 类 说明 DefaultRecordSeparatorPolicy ARecordSeparatorPolicy
that treats all lines as record endings, as long as they do not have unterminated quotes, and do not end in a continuation marker.JsonRecordSeparatorPolicy JSON-based record separator.SimpleRecordSeparatorPolicy Simplest possibleRecordSeparatorPolicy
- treats all lines as record endings.SuffixRecordSeparatorPolicy ARecordSeparatorPolicy
that looks for an exact match for a String at the end of a line (e.g. a semicolon).