Interface OutputFormatter


public interface OutputFormatter
Interface for all formatters of result sets.
  • Method Summary

    Modifier and Type
    Method
    Description
    asString(ResultSet resultSet)
    Turn into a string
    void
    format(OutputStream out, boolean booleanResult)
    Format a boolean result - output on the given stream
    void
    format(OutputStream out, ResultSet resultSet)
    Format a result set - output on the given stream
  • Method Details

    • format

      void format(OutputStream out, ResultSet resultSet)
      Format a result set - output on the given stream
      Parameters:
      out -
      resultSet -
    • format

      void format(OutputStream out, boolean booleanResult)
      Format a boolean result - output on the given stream
      Parameters:
      out -
      booleanResult -
    • asString

      String asString(ResultSet resultSet)
      Turn into a string