visidia.io
Class AlgorithmIO

java.lang.Object
  extended by visidia.io.ClassIO
      extended by visidia.io.AlgorithmIO
All Implemented Interfaces:
VisidiaIO

public class AlgorithmIO
extends ClassIO

This class deals with input operations on algorithms.


Constructor Summary
AlgorithmIO(ClassIdentifier classId)
          Instantiates a new algorithm input/output.
 
Method Summary
 Algorithm load()
          Loads the current file as an algorithm.
 void save(java.lang.Object object)
          This function does nothing.
 
Methods inherited from class visidia.io.ClassIO
getClassIdentifier, load, recreateInSystemClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgorithmIO

public AlgorithmIO(ClassIdentifier classId)
Instantiates a new algorithm input/output.

Parameters:
classId - the class identifier
Method Detail

load

public Algorithm load()
Loads the current file as an algorithm.

Specified by:
load in interface VisidiaIO
Overrides:
load in class ClassIO
Returns:
the algorithm
See Also:
VisidiaIO.load()

save

public void save(java.lang.Object object)
This function does nothing. An algorithm cannot be saved.

Specified by:
save in interface VisidiaIO
Overrides:
save in class ClassIO
Parameters:
object - the object
See Also:
VisidiaIO.save(java.lang.Object)