Package org.biojavax.bio.seq.io
Class SimpleRichSequenceBuilderFactory
- java.lang.Object
-
- org.biojavax.bio.seq.io.SimpleRichSequenceBuilderFactory
-
- All Implemented Interfaces:
SequenceBuilderFactory
,RichSequenceBuilderFactory
public class SimpleRichSequenceBuilderFactory extends Object implements RichSequenceBuilderFactory
Generates RichSequenceBuilder objects.- Since:
- 1.5
- Author:
- Mark Schreiber, Richard Holland
- See Also:
RichSequenceBuilder
-
-
Field Summary
-
Fields inherited from interface org.biojavax.bio.seq.io.RichSequenceBuilderFactory
FACTORY, PACKED, THRESHOLD, THRESHOLD_VALUE
-
-
Constructor Summary
Constructors Constructor Description SimpleRichSequenceBuilderFactory()
Creates a new instance of SimpleRichSequenceBuilderFactorySimpleRichSequenceBuilderFactory(SymbolListFactory fact)
Creates a new instance of SimpleRichSequenceBuilderFactorySimpleRichSequenceBuilderFactory(SymbolListFactory fact, int threshold)
Creates a new instance of SimpleRichSequenceBuilderFactory that uses a specified factory forSymbolLists
longer than a specified length.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SequenceBuilder
makeSequenceBuilder()
-
-
-
Constructor Detail
-
SimpleRichSequenceBuilderFactory
public SimpleRichSequenceBuilderFactory()
Creates a new instance of SimpleRichSequenceBuilderFactory
-
SimpleRichSequenceBuilderFactory
public SimpleRichSequenceBuilderFactory(SymbolListFactory fact)
Creates a new instance of SimpleRichSequenceBuilderFactory- Parameters:
fact
- the factory to use when building theSymbolList
.
-
SimpleRichSequenceBuilderFactory
public SimpleRichSequenceBuilderFactory(SymbolListFactory fact, int threshold)
Creates a new instance of SimpleRichSequenceBuilderFactory that uses a specified factory forSymbolLists
longer than a specified length. Before that aSimpleSymbolListFacotry
is used.- Parameters:
fact
- the factory to use when building theSymbolList
.threshold
- the threshold to exceed before using this factory
-
-
Method Detail
-
makeSequenceBuilder
public SequenceBuilder makeSequenceBuilder()
- Specified by:
makeSequenceBuilder
in interfaceSequenceBuilderFactory
-
-