Class EasyWriter

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable

    public final class EasyWriter
    extends java.io.BufferedWriter
    • Field Summary

      • Fields inherited from class java.io.Writer

        lock
    • Constructor Summary

      Constructors 
      Constructor Description
      EasyWriter​(java.io.BufferedWriter out)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void print​(java.lang.String s)  
      void println()  
      void println​(java.lang.String s)  
      • Methods inherited from class java.io.BufferedWriter

        close, flush, newLine, write, write, write
      • Methods inherited from class java.io.Writer

        append, append, append, nullWriter, write, write
      • Methods inherited from class java.lang.Object

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

      • EasyWriter

        public EasyWriter​(java.io.BufferedWriter out)
    • Method Detail

      • println

        public void println​(java.lang.String s)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • println

        public void println()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • print

        public void print​(java.lang.String s)
                   throws java.io.IOException
        Throws:
        java.io.IOException