public class CommandLineSetup extends AbstractExperimentFileHandler
m_Debug, m_LogListeners
Constructor and Description |
---|
CommandLineSetup() |
Modifier and Type | Method and Description |
---|---|
String |
getFormatDescription()
A description of the file format.
|
String[] |
getFormatExtensions()
Returns the format extensions.
|
String |
globalInfo()
Description to be displayed in the GUI.
|
Experiment |
read(File file)
Reads an experiment from disk.
|
String |
write(Experiment exp,
File file)
Writes and experiment to disk.
|
getOptions, listOptions, setOptions
addLogListener, debug, getLogListeners, handleException, log, removeLogListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addLogListener, log, removeLogListener
public String globalInfo()
globalInfo
in class AbstractExperimentFileHandler
public String getFormatDescription()
public String[] getFormatExtensions()
public Experiment read(File file)
read
in interface ExperimentFileHandler
read
in class AbstractExperimentFileHandler
file
- the file to loadpublic String write(Experiment exp, File file)
write
in interface ExperimentFileHandler
write
in class AbstractExperimentFileHandler
exp
- the experiment to savefile
- the file to save toCopyright © 2017. All Rights Reserved.