Interface Section

All Known Implementing Classes:
BulletedSection, GettingStartedSection, GitIgnore.GitIgnoreSection, MustacheSection, PreDefinedSection

public interface Section
Define the section of a document that knows how to write itself.
Author:
Stephane Nicoll, Madhura Bhave
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Write the content of the section to the specified writer.
  • Method Details

    • write

      void write(PrintWriter writer) throws IOException
      Write the content of the section to the specified writer.
      Parameters:
      writer - the writer to use
      Throws:
      IOException - if writing the section failed