Constructor and Description |
---|
GenbankWriter(java.io.OutputStream os,
java.util.Collection<S> sequences,
GenbankHeaderFormatInterface<S,C> headerFormat)
Use default line length of 60
|
GenbankWriter(java.io.OutputStream os,
java.util.Collection<S> sequences,
GenbankHeaderFormatInterface<S,C> headerFormat,
int lineLength)
Set custom lineLength
|
Modifier and Type | Method and Description |
---|---|
int |
getLineLength() |
void |
process()
Allow an override of operating system line separator for programs that
needs a specific CRLF or CR or LF option
|
void |
setLineLength(int lineLength) |
public GenbankWriter(java.io.OutputStream os, java.util.Collection<S> sequences, GenbankHeaderFormatInterface<S,C> headerFormat)
os
- sequences
- headerFormat
- public GenbankWriter(java.io.OutputStream os, java.util.Collection<S> sequences, GenbankHeaderFormatInterface<S,C> headerFormat, int lineLength)
os
- sequences
- headerFormat
- lineLength
- public void process() throws java.lang.Exception
lineSeparator
- java.lang.Exception
public int getLineLength()
public void setLineLength(int lineLength)
lineLength
- the lineLength to set