com.compomics.util.experiment.io.identifications
Interface IdfileReader

All Known Implementing Classes:
AndromedaIdfileReader, MascotIdfileReader, OMSSAIdfileReader, XTandemIdfileReader

public interface IdfileReader

This interface will retrieve spectrum matches from any identification file. Created by IntelliJ IDEA. User: Marc Date: Jun 23, 2010 Time: 9:44:07 AM


Method Summary
 void close()
          Method closing the file reader
 HashSet<SpectrumMatch> getAllSpectrumMatches(JProgressBar jProgressBar)
          This methods retrieves all the identifications from an identification file as a list of spectrum matches It is very important to close the file reader after creation.
 

Method Detail

getAllSpectrumMatches

HashSet<SpectrumMatch> getAllSpectrumMatches(JProgressBar jProgressBar)
                                             throws IOException
This methods retrieves all the identifications from an identification file as a list of spectrum matches It is very important to close the file reader after creation.

Parameters:
jProgressBar - a progress bar displaying the progress (can be null)
Returns:
a list of spectrum matches
Throws:
IOException - exception thrown whenever an error occurred while reading the file

close

void close()
           throws IOException
Method closing the file reader

Throws:
IOException


Copyright © 2012. All Rights Reserved.