ParsingStrategy

public interface ParsingStrategy<T>

Generic interface that characterizes a parsing strategy for gathering data from a String array (e.g. a text file). This strategy is supposed to have side-effects on the chosen output data structure.

Inheritors

Functions

Link copied to clipboard
public abstract void initialize(Array<String> header)
Hook to execute the initialization of the parser, when needed.
Link copied to clipboard
public abstract void process(Array<String> data)
Parses the input data.
Link copied to clipboard
public abstract T result()
Method to fetch the result of the parsing procedure.