Last update: 2011-06-23

org.proteios.io
Class TandemFileReader

java.lang.Object
  extended by org.proteios.io.TandemFileReader
All Implemented Interfaces:
IdentificationFileInterface

public class TandemFileReader
extends Object
implements IdentificationFileInterface

Reads a tandem xml file

Author:
gregory

Constructor Summary
TandemFileReader(InputStream stream)
           
 
Method Summary
 String getInputFileName()
           
 List<HitInterface> listAllHits()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TandemFileReader

public TandemFileReader(InputStream stream)
                 throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException
Method Detail

getInputFileName

public String getInputFileName()
Specified by:
getInputFileName in interface IdentificationFileInterface
Returns:
name of file used as input for this search result or null. The filename will be without path.

listAllHits

public List<HitInterface> listAllHits()
Specified by:
listAllHits in interface IdentificationFileInterface
Returns:
list of hits or empty list if no hits are found

Last update: 2011-06-23