Package eu.isas.reporter.io
Class ProjectSaver
java.lang.Object
eu.isas.reporter.io.ProjectSaver
This class can be used to save the Reporter projects in a psdb file.
- Author:
- Marc Vaudel, Harald Barsnes
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsaveProject(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.
-
Field Details
-
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 settingsreporterIonQuantification- the reporter ion quantificationdisplayPreferences- the display preferencespsdbParent- the psdb parentwaitingHandler- 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 fileSQLException- thrown of SQLException occurs exception thrown whenever an error occurred while interacting with the databaseClassNotFoundException- exception thrown whenever an error occurred while deserializing an objectInterruptedException- exception thrown whenever a threading error occurred while saving the projectorg.apache.commons.compress.archivers.ArchiveException- thrown of ArchiveException occurs exception thrown whenever an error occurred while taring the project
-