public class ExperimentIO extends Object
| Constructor and Description |
|---|
ExperimentIO()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static MsExperiment |
loadExperiment(File utilitiesFile)
Method which loads an experiment.
|
static void |
save(File file,
MsExperiment experiment)
Method which saves an experiment.
|
public static void save(File file, MsExperiment experiment) throws IOException
file - The destination fileexperiment - The experiment to be savedIOException - Exception thrown whenever an error is encountered
while writing the filepublic static MsExperiment loadExperiment(File utilitiesFile) throws IOException, ClassNotFoundException
utilitiesFile - File to importIOException - Exception thrown if a problem occurred while reading
the fileClassNotFoundException - Exception thrown if a problem occurred
while creating the experiment (typically a version issue)Copyright © 2014. All rights reserved.