# Uses of Interface
org.springframework.batch.item.file.separator.RecordSeparatorPolicy

Packages that use RecordSeparatorPolicy
Package
Description
org.springframework.batch.item.file
Infrastructure implementations of io file concerns.
org.springframework.batch.item.file.builder
Builders for file item readers and writers.
org.springframework.batch.item.file.separator
Infrastructure implementations of io file support separator concerns.

- ## Uses of RecordSeparatorPolicy in org.springframework.batch.item.file

  Methods in org.springframework.batch.item.file with parameters of type RecordSeparatorPolicy
  Modifier and Type
  Method
  Description
  `void`
  FlatFileItemReader.`setRecordSeparatorPolicy(RecordSeparatorPolicy recordSeparatorPolicy)`
  Public setter for the recordSeparatorPolicy.

- ## Uses of RecordSeparatorPolicy in org.springframework.batch.item.file.builder

  Methods in org.springframework.batch.item.file.builder with parameters of type RecordSeparatorPolicy
  Modifier and Type
  Method
  Description
  `FlatFileItemReaderBuilder<T>`
  FlatFileItemReaderBuilder.`recordSeparatorPolicy(RecordSeparatorPolicy policy)`
  Configure a custom `RecordSeparatorPolicy` for the reader.

- ## Uses of RecordSeparatorPolicy in org.springframework.batch.item.file.separator

  Classes in org.springframework.batch.item.file.separator that implement RecordSeparatorPolicy
  Modifier and Type
  Class
  Description
  `class`
  `DefaultRecordSeparatorPolicy`
  A `RecordSeparatorPolicy` that treats all lines as record endings, as long as they do not have unterminated quotes, and do not end in a continuation marker.
  `class`
  `JsonRecordSeparatorPolicy`
  JSON-based record separator.
  `class`
  `SimpleRecordSeparatorPolicy`
  Simplest possible `RecordSeparatorPolicy` - treats all lines as record endings.
  `class`
  `SuffixRecordSeparatorPolicy`
  A `RecordSeparatorPolicy` that looks for an exact match for a String at the end of a line (e.g.