Class ReportWriter

    • Method Detail

      • writeHeader

        public abstract void writeHeader​(String title)
                                  throws IOException
        Writes the header for the report.
        Parameters:
        title - the title of the header
        Throws:
        IOException - if an I/O error occurs
      • writeDetail

        public abstract void writeDetail​(MessageMethod messageMethod)
                                  throws IOException
        Writes a detail line for the report.
        Parameters:
        messageMethod - the method to write the details for
        Throws:
        IOException - if an I/O error occurs
      • writeFooter

        public abstract void writeFooter()
                                  throws IOException
        Writes the footer for the report.
        Throws:
        IOException - if an I/O error occurs