All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.core.converters.AbstractLoader
java.lang.Object
|
+----weka.core.converters.AbstractLoader
- public abstract class AbstractLoader
- extends java.lang.Object
- implements Loader
Abstract class gives default implementation of setSource
methods. All other methods must be overridden.
- Version:
- $Revision: 1.6 $
- Author:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz)
AbstractLoader()
-
getDataSet()
-
getNextInstance()
-
getStructure()
-
setSource(File)
- Default implementation throws an IOException.
setSource(InputStream)
- Default implementation throws an IOException.
AbstractLoader
public AbstractLoader()
setSource
public void setSource(java.io.File file) throws java.io.IOException
Default implementation throws an IOException.
- Parameters:
file - the File
- Throws:
- java.io.IOException - always
setSource
public void setSource(java.io.InputStream input) throws java.io.IOException
Default implementation throws an IOException.
- Parameters:
input - the input stream
- Throws:
- java.io.IOException - always
getStructure
public abstract Instances getStructure() throws java.io.IOException
getDataSet
public abstract Instances getDataSet() throws java.io.IOException
getNextInstance
public abstract Instance getNextInstance() throws java.io.IOException
All Packages Class Hierarchy This Package Previous Next Index WEKA's home