Package weka.core
Class FileHelper
java.lang.Object
weka.core.FileHelper
Wrapper class for File objects. File objects wrapped in this class
can be serialized by Weka's XML serialization mechanism.
- Version:
- $Revision: $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFile()
Get the file wrapped in this instanceGet the file pathvoid
setFilePath
(String path) Set the file path
-
Constructor Details
-
FileHelper
Constructor- Parameters:
file
- the file to wrap
-
FileHelper
public FileHelper()No-op constructor for beans conformity
-
-
Method Details
-
setFilePath
Set the file path- Parameters:
path
- the path to set
-
getFilePath
Get the file path- Returns:
- the path to set
-
getFile
Get the file wrapped in this instance- Returns:
- the File object
-