public class MascotEnzymeReader extends Object
| Constructor and Description |
|---|
MascotEnzymeReader(InputStream aEnzymeStream)
The constructor allows you specify to specify an inputstream from which to load
the enzyme information.
|
MascotEnzymeReader(String aEnzymeFile)
The constructor requires that you specify the file from which to load
the enzyme information.
|
| Modifier and Type | Method and Description |
|---|---|
Enzyme |
getEnzyme(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.
|
String[] |
getEnzymeNames()
This method reports on all the known names for enzymes in this reader.
|
public MascotEnzymeReader(String aEnzymeFile) throws IOException
aEnzymeFile - String with the filename of the mascot enzyme file.IOException - when the enzyme file could not be read.public MascotEnzymeReader(InputStream aEnzymeStream) throws IOException
aEnzymeStream - InputStream to the mascot enzyme file.IOException - when the enzyme file could not be read.public String[] getEnzymeNames()
public Enzyme getEnzyme(String aTitle)
aTitle - String with the title (name) of the Enzyme to retrieve.Copyright © 2014. All rights reserved.