public class SimpleAssemblyBuilder extends SequenceBuilderBase
| Modifier and Type | Field and Description |
|---|---|
static SequenceBuilderFactory |
FACTORY |
annotation, ERROR_FEATURES_PROPERTY, name, seq, uri| Constructor and Description |
|---|
SimpleAssemblyBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ComponentFeature |
addComponentSequence(ComponentFeature.Template cft) |
void |
addSymbols(Alphabet alpha,
Symbol[] syms,
int pos,
int len)
Notify the listener of symbol data.
|
Sequence |
makeSequence()
Return the Sequence object which has been constructed
by this builder.
|
addFeatureProperty, addProperty, addSequenceProperty, endFeature, endSequence, setName, setURI, startFeature, startSequencepublic static final SequenceBuilderFactory FACTORY
public SimpleAssemblyBuilder()
public void addSymbols(Alphabet alpha, Symbol[] syms, int pos, int len) throws IllegalAlphabetException
SeqIOListeneraddSymbols in interface SeqIOListeneraddSymbols in class SequenceBuilderBasealpha - The alphabet of the symbol datasyms - An array containing symbolspos - The start offset of valid data within the arraylen - The number of valid symbols in the arrayIllegalAlphabetException - if we can't cope with this
alphabet.public ComponentFeature addComponentSequence(ComponentFeature.Template cft) throws BioException, ChangeVetoException
BioExceptionChangeVetoExceptionpublic Sequence makeSequence() throws BioException
SequenceBuildermakeSequence in interface SequenceBuildermakeSequence in class SequenceBuilderBaseBioExceptionCopyright © 2014 BioJava. All rights reserved.