|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fhcrc.cpl.viewer.amt.AmtXmlReader
public class AmtXmlReader
A restrictive wrapper for reading AmtXml files. The method is a compromise between the elegance of DOM/XmlBeans and the efficiency of stax. We use Stax2DomBuilder to pull DOM subtrees out of the pepxml file for bits that we care about, namely modifications and features
| Field Summary | |
|---|---|
protected AmtDatabase |
mAmtDatabase
|
| Constructor Summary | |
|---|---|
AmtXmlReader(java.io.File file)
Read in a amtxml file |
|
| Method Summary | |
|---|---|
protected void |
extractEntries(java.io.File inputFile)
|
protected void |
extractMetadataAndModifications(java.io.File inputFile)
TODO: get hydrophobicity calculator and version |
protected void |
extractRuns(java.io.File inputFile)
extracts interesting stuff at the amt_database level, and all runs |
AmtDatabase |
getDatabase()
Accessor for loaded database |
void |
read(java.io.File file)
Read in a file, extract modifications and features |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AmtDatabase mAmtDatabase
| Constructor Detail |
|---|
public AmtXmlReader(java.io.File file)
throws java.io.FileNotFoundException,
javax.xml.stream.XMLStreamException
file -
java.io.FileNotFoundException
javax.xml.stream.XMLStreamException| Method Detail |
|---|
public void read(java.io.File file)
throws java.io.FileNotFoundException,
javax.xml.stream.XMLStreamException
file -
java.io.FileNotFoundException
javax.xml.stream.XMLStreamException
protected void extractMetadataAndModifications(java.io.File inputFile)
throws java.io.FileNotFoundException,
javax.xml.stream.XMLStreamException
inputFile -
java.io.FileNotFoundException
javax.xml.stream.XMLStreamException
protected void extractRuns(java.io.File inputFile)
throws java.io.FileNotFoundException,
javax.xml.stream.XMLStreamException
inputFile -
java.io.FileNotFoundException
javax.xml.stream.XMLStreamException
protected void extractEntries(java.io.File inputFile)
throws java.io.FileNotFoundException,
javax.xml.stream.XMLStreamException
inputFile -
java.io.FileNotFoundException
javax.xml.stream.XMLStreamExceptionpublic AmtDatabase getDatabase()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||