org.proteios.io
Class TandemFileReader
java.lang.Object
org.proteios.io.TandemFileReader
- All Implemented Interfaces:
- IdentificationFileInterface
public class TandemFileReader
- extends Object
- implements IdentificationFileInterface
Reads a tandem xml file
- Author:
- gregory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TandemFileReader
public TandemFileReader(InputStream stream)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
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