visidia.io
Class AgentIO

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

public class AgentIO
extends ClassIO

This class deals with input operations on agents.


Constructor Summary
AgentIO(ClassIdentifier classId)
          Instantiates a new agent input/output.
 
Method Summary
 Agent load()
          Loads the current file as an agent.
 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

AgentIO

public AgentIO(ClassIdentifier classId)
Instantiates a new agent input/output.

Parameters:
classId - the class identifier
Method Detail

load

public Agent load()
Loads the current file as an agent.

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

save

public void save(java.lang.Object object)
This function does nothing. An agent 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)