Interface FileGenerator

All Known Implementing Classes:
AbstractDartGenerator, AbstractFileGenerator, AbstractJavaGenerator, AbstractMessageGenerator, DartClassGenerator, DartEnumGenerator, DartLibGenerator, EnumGenerator, MessageGenerator, ReadOperationBuilder, WriteOperationBuilder

public interface FileGenerator
Common interface for code generators.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    generate(Appendable out, int indent)
    Generates the file contents to the given Appendable.
  • Method Details

    • generate

      void generate(Appendable out, int indent) throws IOException
      Generates the file contents to the given Appendable.
      Parameters:
      indent - The initial indentation level to start with.
      Throws:
      IOException