X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Futil%2FEasyWriter.java;h=f07edab49d0cf876739376e9d0b591b95fd26522;hb=d4d61f9d2969283e821f650d031c169899fb3870;hp=5fc907d246bb2cbe217e9ea21ef5a61ed1f12842;hpb=b27e63e1badc730396c24ec7666e2d9e2628e2e9;p=jalview.git diff --git a/forester/java/src/org/forester/util/EasyWriter.java b/forester/java/src/org/forester/util/EasyWriter.java index 5fc907d..f07edab 100644 --- a/forester/java/src/org/forester/util/EasyWriter.java +++ b/forester/java/src/org/forester/util/EasyWriter.java @@ -8,7 +8,7 @@ public final class EasyWriter extends BufferedWriter { private final static String LINE_SEPARATOR = ForesterUtil.LINE_SEPARATOR; - public EasyWriter( BufferedWriter out ) { + public EasyWriter( final BufferedWriter out ) { super( out ); } @@ -17,6 +17,10 @@ public final class EasyWriter extends BufferedWriter { write( LINE_SEPARATOR ); } + public void println() throws IOException { + write( LINE_SEPARATOR ); + } + public void print( final String s ) throws IOException { write( s ); }