Interface InputAnalysisProcess
-
- All Known Implementing Classes:
CsvFormatDetector
,LineSeparatorDetector
public interface InputAnalysisProcess
A process to be executed over a sample of data being parsed. WhenAbstractCharInputReader.reloadBuffer()
loads a batch of characters from the input, theInputAnalysisProcess
will be executed and then discarded.Parsers can implement their custom analysis processes to identify patterns and attempt to automatically derive configuration options to process the input by calling
AbstractCharInputReader.addInputAnalysisProcess(InputAnalysisProcess)
at any time.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
execute(char[] characters, int length)
A sequence of characters of the input buffer to be analyzed.
-