Class GenericInsdcHeaderFormat<S extends AbstractSequence<C>,C extends Compound>
- java.lang.Object
-
- org.biojava.nbio.core.sequence.io.GenericInsdcHeaderFormat<S,C>
-
- Direct Known Subclasses:
GenericGenbankHeaderFormat
public class GenericInsdcHeaderFormat<S extends AbstractSequence<C>,C extends Compound> extends Object
- Author:
- mckeee1
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
MAX_WIDTH
protected static int
QUALIFIER_INDENT
protected static String
QUALIFIER_INDENT_STR
protected static String
QUALIFIER_INDENT_TMP
-
Constructor Summary
Constructors Constructor Description GenericInsdcHeaderFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ArrayList<String>
_split_multi_line(String text, int max_len)
Returns a list of strings.protected String
_write_feature(FeatureInterface<AbstractSequence<C>,C> feature, int record_length)
Write a single SeqFeature object to features table.
-
-
-
Field Detail
-
MAX_WIDTH
protected static final int MAX_WIDTH
- See Also:
- Constant Field Values
-
QUALIFIER_INDENT
protected static final int QUALIFIER_INDENT
- See Also:
- Constant Field Values
-
QUALIFIER_INDENT_STR
protected static final String QUALIFIER_INDENT_STR
- See Also:
- Constant Field Values
-
QUALIFIER_INDENT_TMP
protected static final String QUALIFIER_INDENT_TMP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GenericInsdcHeaderFormat
public GenericInsdcHeaderFormat()
-
-
Method Detail
-
_write_feature
protected String _write_feature(FeatureInterface<AbstractSequence<C>,C> feature, int record_length)
Write a single SeqFeature object to features table.- Parameters:
feature
-record_length
-
-
_split_multi_line
protected ArrayList<String> _split_multi_line(String text, int max_len)
Returns a list of strings. Any single words which are too long get returned as a whole line (e.g. URLs) without an exception or warning.- Parameters:
text
-max_len
-
-
-