|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jasi.sim.basic.AbstractSimArchive jasi.sim.user.archive.StreamArchive
public class StreamArchive
An archive using serialization.
Constructor Summary | |
---|---|
StreamArchive()
|
Method Summary | |
---|---|
java.lang.String |
getExtension()
Get the file extension of an archive. |
void |
readElements()
Read simulation elements from archive. |
void |
readEvents()
Read simulation events from archive. |
void |
readFinish()
Finish reading this archive from a file. |
void |
readInit(AbstractSimKernel sim,
java.lang.String file)
Initialization of reading this archive, when imported from a file. |
void |
readTables()
Read condition tables from archive. |
void |
writeElements()
Write simulation elements into archive. |
void |
writeEvents()
Write simulation events into archive. |
void |
writeFinish()
Write this archive to a file in XML format. |
void |
writeInit(AbstractSimKernel sim,
java.lang.String file)
Initialize this archive to export in a file in XML format. |
void |
writeTables()
Write condition tables into archive. |
Methods inherited from class jasi.sim.basic.AbstractSimArchive |
---|
read, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamArchive()
Method Detail |
---|
public void writeInit(AbstractSimKernel sim, java.lang.String file)
writeInit
in class AbstractSimArchive
sim
- The simulation instance.file
- The file name.AbstractSimArchive.writeInit(jasi.sim.basic.AbstractSimKernel,
java.lang.String)
public void readInit(AbstractSimKernel sim, java.lang.String file)
readInit
in class AbstractSimArchive
sim
- The simulation instance.file
- The file name.public void writeTables()
writeTables
in class AbstractSimArchive
AbstractSimArchive.writeTables()
public void readTables()
readTables
in class AbstractSimArchive
public void writeElements()
writeElements
in class AbstractSimArchive
AbstractSimArchive.writeElements()
public void readElements()
readElements
in class AbstractSimArchive
public void writeEvents()
writeEvents
in class AbstractSimArchive
AbstractSimArchive.writeEvents()
public void readEvents()
readEvents
in class AbstractSimArchive
public void writeFinish()
writeFinish
in class AbstractSimArchive
AbstractSimArchive.writeFinish()
public void readFinish()
readFinish
in class AbstractSimArchive
public java.lang.String getExtension()
getExtension
in class AbstractSimArchive
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |