com.univocity.parsers.common.input
Interface InputAnalysisProcess


public interface InputAnalysisProcess

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 - parsers@univocity.com

Method Summary
 void execute(char[] characters, int length)
          A sequence of characters of the input buffer to be analyzed.
 

Method Detail

execute

void execute(char[] characters,
             int length)
A sequence of characters of the input buffer to be analyzed.

Parameters:
characters - the input buffer
length - the last character position loaded into the buffer.


Copyright © 2018 uniVocity Software Pty Ltd. All rights reserved.