Package adams.data
Class WekaExperimentFile
- java.lang.Object
-
- java.io.File
-
- adams.core.io.PlaceholderFile
-
- adams.data.WekaExperimentFile
-
- All Implemented Interfaces:
Serializable
,Comparable<File>
public class WekaExperimentFile extends adams.core.io.PlaceholderFile
A dummy class for the GOE, for special handling of experiments.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
-
-
Constructor Summary
Constructors Constructor Description WekaExperimentFile(File file)
Creates a new ExperimentFile instance by using the given file.WekaExperimentFile(File parent, String child)
Creates a new ExperimentFile instance from a parent abstract pathname and a child pathname string.WekaExperimentFile(String pathname)
Creates a new ExperimentFile instance by converting the given pathname string into an abstract pathname.WekaExperimentFile(String parent, String child)
Creates a new ExperimentFile instance from a parent pathname string and a child pathname string.WekaExperimentFile(URI uri)
Creates a new ExperimentFile instance by converting the given file: URI into an abstract pathname.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
toFile()
Returns a file object.-
Methods inherited from class adams.core.io.PlaceholderFile
canExecute, canRead, canWrite, changeExtension, changeExtension, compareTo, createNewFile, delete, deleteOnExit, exists, expand, fixSeparator, fixSeparator, getAbsolutePath, getCanonicalPath, getExtension, getExtension, getFreeSpace, getParent, getParentFile, getTotalSpace, getUsableSpace, isAbsolute, isDirectory, isFile, isHidden, isValid, isValid, lastModified, length, list, list, listFiles, listFiles, listFiles, mkdir, renameTo, setExecutable, setLastModified, setReadable, setReadOnly, setWritable, toPath, toPlaceholderFiles
-
Methods inherited from class java.io.File
createTempFile, createTempFile, equals, getAbsoluteFile, getCanonicalFile, getName, getPath, hashCode, list, listRoots, mkdirs, setExecutable, setReadable, setWritable, toString, toURI, toURL
-
-
-
-
Constructor Detail
-
WekaExperimentFile
public WekaExperimentFile(File parent, String child)
Creates a new ExperimentFile instance from a parent abstract pathname and a child pathname string.- Parameters:
parent
- the parentchild
- the child
-
WekaExperimentFile
public WekaExperimentFile(String pathname)
Creates a new ExperimentFile instance by converting the given pathname string into an abstract pathname.- Parameters:
pathname
- the path
-
WekaExperimentFile
public WekaExperimentFile(String parent, String child)
Creates a new ExperimentFile instance from a parent pathname string and a child pathname string.- Parameters:
parent
- the parentchild
- the child
-
WekaExperimentFile
public WekaExperimentFile(URI uri)
Creates a new ExperimentFile instance by converting the given file: URI into an abstract pathname.- Parameters:
uri
- the identifier
-
WekaExperimentFile
public WekaExperimentFile(File file)
Creates a new ExperimentFile instance by using the given file.- Parameters:
file
- the file to use
-
-
Method Detail
-
toFile
public File toFile()
Returns a file object.- Returns:
- the file
-
-