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

    Modifier and Type
    Method
    Description
    void
    Generates the output data file, writing one header row followed by the configured number of data rows.
    void
    Exports this generator's configuration to a YAML file (named after the generator's base file name with a .yaml extension).
  • 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 .yaml extension).
      Throws:
      UncheckedIOException - if the file cannot be written