Class AbstractGeneratedTextFile

    • Constructor Detail

    • Method Detail

      • writeBody

        public final void writeBody​(OutputStream output)
                             throws IOException
        Description copied from interface: GeneratedFile
        Write the body of this file into specified OutputStream.
        Parameters:
        output - stream where to write the output
        Throws:
        IOException - when the stream reports an IOException
      • writeBody

        protected abstract void writeBody​(Writer output)
                                   throws IOException
        Write the body of this file into specified Writer.
        Parameters:
        output - writer where to write the output
        Throws:
        IOException - when the stream reports an IOException