adams.data
Class WekaExperimentFile

java.lang.Object
  extended by java.io.File
      extended by adams.core.io.PlaceholderFile
          extended by adams.data.WekaExperimentFile
All Implemented Interfaces:
Serializable, Comparable<File>

public class WekaExperimentFile
extends PlaceholderFile

A dummy class for the GOE, for special handling of experiments.

Version:
$Revision: 4584 $
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
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
 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, 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, 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 parent
child - 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 parent
child - 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


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.