public class GenericGenbankHeaderParser<S extends AbstractSequence<C>,C extends Compound> extends Object implements SequenceHeaderParserInterface<S,C>
Constructor and Description |
---|
GenericGenbankHeaderParser() |
Modifier and Type | Method and Description |
---|---|
void |
parseHeader(String header,
S sequence)
Parse the header and set the values in the sequence
|
void |
setAccession(String accession)
The last accession passed to this routine will always be the one used.
|
void |
setComment(String comment) |
void |
setDescription(String description) |
void |
setIdentifier(String identifier) |
void |
setName(String name) |
void |
setVersion(int version) |
public void parseHeader(String header, S sequence)
parseHeader
in interface SequenceHeaderParserInterface<S extends AbstractSequence<C>,C extends Compound>
header
- sequence
- public void setVersion(int version) throws ParserException
ParserException
public void setAccession(String accession) throws ParserException
ParserException
public void setDescription(String description) throws ParserException
ParserException
public void setIdentifier(String identifier) throws ParserException
ParserException
public void setName(String name) throws ParserException
ParserException
public void setComment(String comment) throws ParserException
ParserException
Copyright © 2000–2016 BioJava. All rights reserved.