java.lang.Object
org.biojava.nbio.core.sequence.io.GenbankWriter<S,C>
- Author:
- mckeee1
-
Constructor Summary
ConstructorDescriptionGenbankWriter
(OutputStream os, Collection<S> sequences, GenbankHeaderFormatInterface<S, C> headerFormat) Use default line length of 60GenbankWriter
(OutputStream os, Collection<S> sequences, GenbankHeaderFormatInterface<S, C> headerFormat, int lineLength) Set custom lineLength -
Method Summary
Modifier and TypeMethodDescriptionint
void
process()
Allow an override of operating system line separator for programs that needs a specific CRLF or CR or LF optionvoid
setLineLength
(int lineLength)
-
Constructor Details
-
GenbankWriter
public GenbankWriter(OutputStream os, Collection<S> sequences, GenbankHeaderFormatInterface<S, C> headerFormat) Use default line length of 60- Parameters:
os
-sequences
-headerFormat
-
-
GenbankWriter
public GenbankWriter(OutputStream os, Collection<S> sequences, GenbankHeaderFormatInterface<S, C> headerFormat, int lineLength) Set custom lineLength- Parameters:
os
-sequences
-headerFormat
-lineLength
-
-
-
Method Details
-
process
Allow an override of operating system line separator for programs that needs a specific CRLF or CR or LF option- Parameters:
lineSeparator
-- Throws:
Exception
-
getLineLength
public int getLineLength()- Returns:
- the lineLength
-
setLineLength
public void setLineLength(int lineLength) - Parameters:
lineLength
- the lineLength to set
-