Class LineSeparatorDetector
- java.lang.Object
-
- com.univocity.parsers.common.input.LineSeparatorDetector
-
- All Implemented Interfaces:
InputAnalysisProcess
public abstract class LineSeparatorDetector extends java.lang.Object implements InputAnalysisProcess
AnInputAnalysisProcess
to detect the line separators used in the input.
-
-
Constructor Summary
Constructors Constructor Description LineSeparatorDetector()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
apply(char lineSeparator1, char lineSeparator2)
void
execute(char[] characters, int length)
A sequence of characters of the input buffer to be analyzed.
-
-
-
Method Detail
-
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 interfaceInputAnalysisProcess
- Parameters:
characters
- the input bufferlength
- the last character position loaded into the buffer.
-
apply
protected abstract void apply(char lineSeparator1, char lineSeparator2)
-
-