| Constructor and Description |
|---|
GenbankWriter(OutputStream os,
Collection<S> sequences,
GenbankHeaderFormatInterface<S,C> headerFormat)
Use default line length of 60
|
GenbankWriter(OutputStream os,
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(OutputStream os, Collection<S> sequences, GenbankHeaderFormatInterface<S,C> headerFormat)
os - sequences - headerFormat - public GenbankWriter(OutputStream os, Collection<S> sequences, GenbankHeaderFormatInterface<S,C> headerFormat, int lineLength)
os - sequences - headerFormat - lineLength - public void process()
throws Exception
lineSeparator - Exceptionpublic int getLineLength()
public void setLineLength(int lineLength)
lineLength - the lineLength to setCopyright © 2000–2016 BioJava. All rights reserved.