public abstract class AbstractExperimentFileHandler extends LogObject implements ExperimentFileHandler
m_Debug, m_LogListeners
Constructor and Description |
---|
AbstractExperimentFileHandler() |
Modifier and Type | Method and Description |
---|---|
String[] |
getOptions()
Returns the options.
|
abstract String |
globalInfo()
Description to be displayed in the GUI.
|
Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration of all the available options..
|
abstract Experiment |
read(File file)
Reads an experiment from disk.
|
void |
setOptions(String[] options)
Sets the options.
|
abstract String |
write(Experiment exp,
File file)
Writes and experiment to disk.
|
addLogListener, debug, getLogListeners, handleException, log, removeLogListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFormatDescription, getFormatExtensions
addLogListener, log, removeLogListener
public abstract String globalInfo()
public Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
public void setOptions(String[] options) throws Exception
setOptions
in interface weka.core.OptionHandler
options
- the optionsException
- neverpublic String[] getOptions()
getOptions
in interface weka.core.OptionHandler
public abstract Experiment read(File file)
read
in interface ExperimentFileHandler
file
- the file to loadpublic abstract String write(Experiment exp, File file)
write
in interface ExperimentFileHandler
exp
- the experiment to savefile
- the file to save toCopyright © 2017. All Rights Reserved.