git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ensure blog window gets put to front after dialogs close (JAL-943)
[jalview.git]
/
src
/
jalview
/
io
/
FileParse.java
diff --git
a/src/jalview/io/FileParse.java
b/src/jalview/io/FileParse.java
index
4714b8f
..
0515507
100755
(executable)
--- a/
src/jalview/io/FileParse.java
+++ b/
src/jalview/io/FileParse.java
@@
-38,7
+38,18
@@
public class FileParse
// same data source
protected char suffixSeparator = '#';
// 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
/**
* '#' separated string tagged on to end of filename or url that was clipped
* off to resolve to valid filename