weka.core.converters
Interface FileSourcedLoader


public interface FileSourcedLoader

Interface to a loader that loads from a file source.

Version:
$Revision: 1.1 $
Author:
Mark Hall

Method Summary
 java.io.File getFile()
          Return the current source file
 java.lang.String getFileDescription()
          Get a one line description of the type of file
 java.lang.String getFileExtension()
          Get the file extension used for this type of file
 void setFile(java.io.File file)
          Set the file to load from
 

Method Detail

getFileExtension

public java.lang.String getFileExtension()
Get the file extension used for this type of file

Returns:
the file extension

getFileDescription

public java.lang.String getFileDescription()
Get a one line description of the type of file

Returns:
a description of the file type

setFile

public void setFile(java.io.File file)
             throws java.io.IOException
Set the file to load from

Parameters:
file - the file to load from
Throws:
java.io.IOException - if an error occurs

getFile

public java.io.File getFile()
Return the current source file

Returns:
a File value