JAL-727
[jalview.git] / src / jalview / io / FileParse.java
index 4714b8f..0515507 100755 (executable)
@@ -38,7 +38,18 @@ public class FileParse
   // same data source
 
   protected char suffixSeparator = '#';
-
+  /**
+   * character used to write newlines 
+   */
+  protected String newline = System.getProperty("line.separator");
+  public void setNewlineString(String nl)
+  {
+    newline = nl;
+  }
+  public String getNewlineString()
+  {
+    return newline;
+  }
   /**
    * '#' separated string tagged on to end of filename or url that was clipped
    * off to resolve to valid filename