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