java.lang.Object
org.biojava.nbio.core.sequence.io.GenbankWriter<S,C>
- Author:
- mckeee1
-
Constructor Summary
ConstructorsConstructorDescriptionGenbankWriter(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 TypeMethodDescriptionintvoidprocess()Allow an override of operating system line separator for programs that needs a specific CRLF or CR or LF optionvoidsetLineLength(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- Throws:
Exception
-
getLineLength
- Returns:
- the lineLength
-
setLineLength
- Parameters:
lineLength- the lineLength to set
-