|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.experiment.biology.EnzymeFactory
public class EnzymeFactory
This factory will provide the implemented enzymes. Created by IntelliJ IDEA. User: Marc Date: Aug 23, 2010 Time: 7:30:55 PM
Method Summary | |
---|---|
Enzyme |
getEnzyme(java.lang.String enzymeName)
Returns the enzyme corresponding to the given name |
java.util.ArrayList<Enzyme> |
getEnzymes()
Get the imported enzymes |
static EnzymeFactory |
getInstance()
Static method to get an instance of the factory |
void |
importEnzymes(java.io.File enzymeFile)
Import enzymes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static EnzymeFactory getInstance()
public java.util.ArrayList<Enzyme> getEnzymes()
public Enzyme getEnzyme(java.lang.String enzymeName)
enzymeName
- the name of the desired enzyme
public void importEnzymes(java.io.File enzymeFile) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
enzymeFile
- xml file containing the enzymes
org.xmlpull.v1.XmlPullParserException
- when the parser failed
java.io.IOException
- when reading the corresponding file failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |