org.forester.util
Class EasyWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.BufferedWriter
          extended by org.forester.util.EasyWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable

public final class EasyWriter
extends java.io.BufferedWriter


Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
EasyWriter(java.io.BufferedWriter out)
           
 
Method Summary
 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, 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