weka.core
Class FileHelper
- java.lang.Object
-
- weka.core.FileHelper
-
public class FileHelper extends java.lang.ObjectWrapper class for File objects. File objects wrapped in this class can be serialized by Weka's XML serialization mechanism.
-
-
Constructor Summary
Constructors Constructor and Description FileHelper()No-op constructor for beans conformityFileHelper(java.io.File file)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.io.FilegetFile()Get the file wrapped in this instancejava.lang.StringgetFilePath()Get the file pathvoidsetFilePath(java.lang.String path)Set the file path
-
-
-
Constructor Detail
-
FileHelper
public FileHelper(java.io.File file)
Constructor- Parameters:
file- the file to wrap
-
FileHelper
public FileHelper()
No-op constructor for beans conformity
-
-
Method Detail
-
setFilePath
public void setFilePath(java.lang.String path)
Set the file path- Parameters:
path- the path to set
-
getFilePath
public java.lang.String getFilePath()
Get the file path- Returns:
- the path to set
-
getFile
public java.io.File getFile()
Get the file wrapped in this instance- Returns:
- the File object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG