Top Description Methods
com.univocity.parsers.common.input

public Interface InputAnalysisProcess

Known Direct Implementers
com.univocity.parsers.common.input.LineSeparatorDetector, com.univocity.parsers.csv.CsvFormatDetector

A process to be executed over a sample of data being parsed. When AbstractCharInputReader#reloadBuffer() loads a batch of characters from the input, the InputAnalysisProcess 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.

Author
Univocity Software Pty Ltd - [email protected]

Method Summary

Modifier and TypeMethod and Description
public void
execute(char[]
the input buffer
characters
,
int
the last character position loaded into the buffer.
length
)

A sequence of characters of the input buffer to be analyzed.

Method Detail

executeback to summary
public void execute(char[] characters, int length)

A sequence of characters of the input buffer to be analyzed.

Parameters
characters:char[]

the input buffer

length:int

the last character position loaded into the buffer.