Class LineSeparatorDetector

java.lang.Object
com.univocity.parsers.common.input.LineSeparatorDetector
All Implemented Interfaces:
InputAnalysisProcess

public abstract class LineSeparatorDetector extends Object implements InputAnalysisProcess
An InputAnalysisProcess to detect the line separators used in the input.
  • Constructor Details

    • LineSeparatorDetector

      public LineSeparatorDetector()
  • Method Details

    • execute

      public void execute(char[] characters, int length)
      Description copied from interface: InputAnalysisProcess
      A sequence of characters of the input buffer to be analyzed.
      Specified by:
      execute in interface InputAnalysisProcess
      Parameters:
      characters - the input buffer
      length - the last character position loaded into the buffer.
    • apply

      protected abstract void apply(char lineSeparator1, char lineSeparator2)