|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.io.MascotEnzymeReader
public class MascotEnzymeReader
This class will load Enzyme properties from a Mascot (www.matrixscience.com) formatted text file.
Constructor Summary | |
---|---|
MascotEnzymeReader(java.io.InputStream aEnzymeStream)
The constructor allows you specify to specify an inputstream from which to load the enzyme information. |
|
MascotEnzymeReader(java.lang.String aEnzymeFile)
The constructor requires that you specify the file from which to load the enzyme information. |
Method Summary | |
---|---|
Enzyme |
getEnzyme(java.lang.String aTitle)
This method will return a copy of an Enzyme instance for the given name, or 'null' if the enzyme was not found in the current list. |
java.lang.String[] |
getEnzymeNames()
This method reports on all the known names for enzymes in this reader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MascotEnzymeReader(java.lang.String aEnzymeFile) throws java.io.IOException
aEnzymeFile
- String with the filename of the mascot enzyme file.
java.io.IOException
- when the enzyme file could not be read.public MascotEnzymeReader(java.io.InputStream aEnzymeStream) throws java.io.IOException
aEnzymeStream
- InputStream to the mascot enzyme file.
java.io.IOException
- when the enzyme file could not be read.Method Detail |
---|
public java.lang.String[] getEnzymeNames()
public Enzyme getEnzyme(java.lang.String aTitle)
aTitle
- String with the title (name) of the Enzyme to retrieve.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |