Interface FileGenerator
- All Known Implementing Classes:
FlatFileGenerator
public interface FileGenerator
Generates output files from a set of column definitions.
Implementations write generated data to disk and can also export their own configuration as YAML.
-
Method Summary
-
Method Details
-
generate
void generate()Generates the output data file, writing one header row followed by the configured number of data rows.- Throws:
UncheckedIOException- if the file cannot be written
-
yaml
void yaml()Exports this generator's configuration to a YAML file (named after the generator's base file name with a.yamlextension).- Throws:
UncheckedIOException- if the file cannot be written
-