public class ProjectExport extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DATA_FOLDER
The name of the folder where to save the spectrum and FASTA files.
|
static String |
DEFAULT_REPORTS_FOLDER
The name of the folder where to save report files.
|
| Constructor and Description |
|---|
ProjectExport() |
| Modifier and Type | Method and Description |
|---|---|
static void |
exportProjectAsZip(File zipFile,
File fastaFile,
com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider,
ArrayList<File> followupAnalysisFiles,
ArrayList<File> reportFiles,
File mzidFile,
File psdbFile,
boolean moveFilesIntoZip,
com.compomics.util.waiting.WaitingHandler waitingHandler)
Exports the project as zip file adding reports to it.
|
static void |
exportProjectAsZip(File zipFile,
File fastaFile,
com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider,
File psdbFile,
boolean moveFilesIntoZip,
com.compomics.util.waiting.WaitingHandler waitingHandler)
Exports the project as zip file.
|
public static final String DEFAULT_DATA_FOLDER
public static final String DEFAULT_REPORTS_FOLDER
public static void exportProjectAsZip(File zipFile, File fastaFile, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, File psdbFile, boolean moveFilesIntoZip, com.compomics.util.waiting.WaitingHandler waitingHandler) throws IOException
zipFile - the destination filefastaFile - path to the FASTA filespectrumProvider - the spectrum providerpsdbFile - the psdb filemoveFilesIntoZip - if true, the files will be moved into the zip
file, i.e. not just copiedwaitingHandler - a waiting handler to display progress to the user
and cancel the process (can be null)IOException - exception thrown whenever a problem occurred while
reading/writing the filepublic static void exportProjectAsZip(File zipFile, File fastaFile, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, ArrayList<File> followupAnalysisFiles, ArrayList<File> reportFiles, File mzidFile, File psdbFile, boolean moveFilesIntoZip, com.compomics.util.waiting.WaitingHandler waitingHandler) throws IOException
zipFile - the destination filefastaFile - path to the FASTA filespectrumProvider - the spectrum providerfollowupAnalysisFiles - followup analysis filesreportFiles - the identification features report filesmzidFile - the mzid filepsdbFile - the psdb filemoveFilesIntoZip - if true, the files will be moved into the zip
file, i.e. not just copiedwaitingHandler - a waiting handler to display progress to the user
and cancel the process (can be null)IOException - exception thrown whenever a problem occurred while
reading/writing the fileCopyright © 2021. All rights reserved.