Class AvaticaSqlException.PrintStreamOrWriter

  • Enclosing class:
    AvaticaSqlException

    private static class AvaticaSqlException.PrintStreamOrWriter
    extends java.lang.Object
    A class that encapsulates either a PrintStream or a PrintWriter.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private PrintStreamOrWriter​(java.io.PrintStream stream)  
      private PrintStreamOrWriter​(java.io.PrintWriter writer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void println​(java.lang.String string)
      Prints the given string to the the provided stream or writer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrintStreamOrWriter

        private PrintStreamOrWriter​(java.io.PrintStream stream)
      • PrintStreamOrWriter

        private PrintStreamOrWriter​(java.io.PrintWriter writer)
    • Method Detail

      • println

        public void println​(java.lang.String string)
        Prints the given string to the the provided stream or writer.
        Parameters:
        string - The string to print