abstract class LineSeparatorDetector extends java.lang.Object implements InputAnalysisProcess
InputAnalysisProcess
to detect the line separators used in the input.Constructor and Description |
---|
LineSeparatorDetector() |
Modifier and Type | Method and 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.
|
public void execute(char[] characters, int length)
InputAnalysisProcess
execute
in interface InputAnalysisProcess
characters
- the input bufferlength
- the last character position loaded into the buffer.protected abstract void apply(char lineSeparator1, char lineSeparator2)