|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
| Method Summary | |
|---|---|
void |
execute(char[] characters,
int length)
A sequence of characters of the input buffer to be analyzed. |
| Method Detail |
|---|
void execute(char[] characters,
int length)
characters - the input bufferlength - the last character position loaded into the buffer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||