in progress (special coloring is still true)
[jalview.git] / forester / java / src / org / forester / util / EasyWriter.java
1
2 package org.forester.util;
3
4 import java.io.BufferedWriter;
5 import java.io.IOException;
6
7 public final class EasyWriter extends BufferedWriter {
8
9     private final static String LINE_SEPARATOR = ForesterUtil.LINE_SEPARATOR;
10
11     public EasyWriter( final BufferedWriter out ) {
12         super( out );
13     }
14
15     public void println( final String s ) throws IOException {
16         write( s );
17         write( LINE_SEPARATOR );
18     }
19
20     public void println() throws IOException {
21         write( LINE_SEPARATOR );
22     }
23
24     public void print( final String s ) throws IOException {
25         write( s );
26     }
27 }