|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mss.ea.stat.Stats
Abstract base class for a statistical operator. Subclasses can should be used to send data of all kinds to an output stream.
Field Summary | |
protected java.io.PrintStream |
ps
PrintStream, to write data to. |
protected java.lang.String |
sep
Seperator between fields in datafiles. |
Constructor Summary | |
Stats()
Constructor. |
|
Stats(java.io.PrintStream stream)
Constructor with output stream. |
|
Stats(java.lang.String filename)
Constructor with output file. |
Method Summary | |
void |
closeStream()
Closes the output stream. |
void |
flushStream()
Flushes the output stream. |
java.lang.String |
getSeparator()
Gets the current separator. |
void |
setSeparator(java.lang.String separator)
Sets a new separator. |
abstract void |
writeData()
Abstract method for writing data to the output stream. |
abstract void |
writeHeader()
Abstract method to write a describing header to the output stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.PrintStream ps
protected java.lang.String sep
Constructor Detail |
public Stats()
public Stats(java.io.PrintStream stream)
stream
- output streampublic Stats(java.lang.String filename)
filename
- name of output fileMethod Detail |
public void closeStream()
public void flushStream()
public abstract void writeHeader()
public abstract void writeData()
public java.lang.String getSeparator()
public void setSeparator(java.lang.String separator)
separator
- new separator
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |