PrintingStrategy

public interface PrintingStrategy<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 String initialize(T header, String wordBreak)
Hook to execute the initialization of the printer, when needed.
Link copied to clipboard
public abstract boolean isComplete()
Link copied to clipboard
public abstract String print(T data, String wordBreak)
Parses the input data.