Interface IOutputter

    • Method Detail

      • embedd

        void embedd​(IOutputter.Context context,
                    IResult result,
                    Writer writer)
             throws IOException
        Add this result to the output.
        Parameters:
        context - the context, which controls how the output should be done
        result - the result to be formatted
        writer - where the formatted output should go
        Throws:
        IOException - if something went wrong writing this result
      • process

        void process​(IOutputter.Context context,
                     IResult result,
                     Writer writer)
              throws IOException
        Write this result to the output, presuming the writer has just been opened.
        Parameters:
        context - the context, which controls how the output should be done
        result - the result to be formatted
        writer - where the formatted output should go
        Throws:
        IOException - if something went wrong writing this result