Class ProjectSaver

java.lang.Object
eu.isas.reporter.io.ProjectSaver

public class ProjectSaver extends Object
This class can be used to save the Reporter projects in a psdb file.
Author:
Marc Vaudel, Harald Barsnes
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name for the reporter settings table.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    saveProject(ReporterSettings reporterSettings, com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, DisplayPreferences displayPreferences, eu.isas.peptideshaker.utils.PsdbParent psdbParent, com.compomics.util.waiting.WaitingHandler waitingHandler)
    Saves the Reporter project information in the given database.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • REPORTER_SETTINGS_TABLE_NAME

      public static final String REPORTER_SETTINGS_TABLE_NAME
      Name for the reporter settings table.
      See Also:
  • Constructor Details

    • ProjectSaver

      public ProjectSaver()
  • Method Details

    • saveProject

      public static void saveProject(ReporterSettings reporterSettings, com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, DisplayPreferences displayPreferences, eu.isas.peptideshaker.utils.PsdbParent psdbParent, com.compomics.util.waiting.WaitingHandler waitingHandler) throws IOException, SQLException, ClassNotFoundException, InterruptedException, org.apache.commons.compress.archivers.ArchiveException
      Saves the Reporter project information in the given database.
      Parameters:
      reporterSettings - the reporter settings
      reporterIonQuantification - the reporter ion quantification
      displayPreferences - the display preferences
      psdbParent - the psdb parent
      waitingHandler - waiting handler displaying feedback to the user. can be null.
      Throws:
      IOException - thrown of IOException occurs exception thrown whenever an error occurred while reading or writing a file
      SQLException - thrown of SQLException occurs exception thrown whenever an error occurred while interacting with the database
      ClassNotFoundException - exception thrown whenever an error occurred while deserializing an object
      InterruptedException - exception thrown whenever a threading error occurred while saving the project
      org.apache.commons.compress.archivers.ArchiveException - thrown of ArchiveException occurs exception thrown whenever an error occurred while taring the project