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
 java.util.HashSet<SpectrumMatch> getAllSpectrumMatches(javax.swing.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

java.util.HashSet<SpectrumMatch> getAllSpectrumMatches(javax.swing.JProgressBar jProgressBar)
                                                       throws java.io.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:
java.io.IOException - exception thrown whenever an error occurred while reading the file

close

void close()
           throws java.io.IOException
Method closing the file reader

Throws:
java.io.IOException


Copyright © 2012. All Rights Reserved.