X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fcom%2Fstevesoft%2Fpat%2FRegexWriter.java;h=a6fec749272f5e6fab1ed2452aca9c07f479f027;hb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;hp=a8c3e509c4669ed5ab69c2f500a887050640d10c;hpb=506d60f0e188723ddc91c26824b41ac7034df3fe;p=jalview.git diff --git a/src/com/stevesoft/pat/RegexWriter.java b/src/com/stevesoft/pat/RegexWriter.java index a8c3e50..a6fec74 100755 --- a/src/com/stevesoft/pat/RegexWriter.java +++ b/src/com/stevesoft/pat/RegexWriter.java @@ -7,9 +7,11 @@ // package com.stevesoft.pat; -import java.io.*; +import java.io.IOException; +import java.io.StringWriter; +import java.io.Writer; -import com.stevesoft.pat.wrap.*; +import com.stevesoft.pat.wrap.WriterWrap; /** * A basic extension of FilterWriter that uses Transformer to make replacements @@ -31,8 +33,8 @@ import com.stevesoft.pat.wrap.*; * an ending (the whole pattern is a String formed by adding the beginning and * ending), and a ReplaceRule. *

- * An illustration of this is given in the this example. + * An illustration of this is given in the this + * example. */ public class RegexWriter extends Writer { @@ -77,6 +79,7 @@ public class RegexWriter extends Writer * * @deprecated */ + @Deprecated public char getEOLchar() { return EOLchar; @@ -87,6 +90,7 @@ public class RegexWriter extends Writer * * @deprecated */ + @Deprecated public void setEOLchar(char c) { EOLchar = c; @@ -99,6 +103,7 @@ public class RegexWriter extends Writer * * @deprecated */ + @Deprecated public int getMaxLines() { return max_lines; @@ -109,6 +114,7 @@ public class RegexWriter extends Writer * * @deprecated */ + @Deprecated public void setMaxLines(int ml) { max_lines = ml;