Package org.biojava.nbio.structure.align
Class StructureAlignmentFactory
java.lang.Object
org.biojava.nbio.structure.align.StructureAlignmentFactory
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidAdds a new StructureAlignment algorithm to the list.static voidRemoves all algorithms from the liststatic StructureAlignmentgetAlgorithm(String name) static String[]static StructureAlignment[]static booleanremoveAlgorithm(String name) Removes the specified algorithm from the list of options 
- 
Constructor Details
- 
StructureAlignmentFactory
public StructureAlignmentFactory() 
 - 
 - 
Method Details
- 
addAlgorithm
Adds a new StructureAlignment algorithm to the list. Only one instance is stored for each algorithmName, so it is possible that a different instance may be returned by getAlgorithm(alg.getAlgorithmName())- Parameters:
 alg- the alignment algorithm
 - 
removeAlgorithm
Removes the specified algorithm from the list of options- Parameters:
 name- the name of the algorithm to remove- Returns:
 - true if the specified algorithm was found and removed
 
 - 
clearAlgorithms
Removes all algorithms from the list - 
getAlgorithm
- Throws:
 StructureException
 - 
getAllAlgorithms
 - 
getAllAlgorithmNames
 
 -