org.omegahat.Simulation.MCMC.Listeners
Class StrippedListenerWriter

java.lang.Object
  |
  +--org.omegahat.Simulation.MCMC.Listeners.ListenerWriter
        |
        +--org.omegahat.Simulation.MCMC.Listeners.StrippedListenerWriter
All Implemented Interfaces:
MCMCListener, MCMCListenerWriter
Direct Known Subclasses:
StrippedListenerGzipWriter

public class StrippedListenerWriter
extends ListenerWriter


Fields inherited from class org.omegahat.Simulation.MCMC.Listeners.ListenerWriter
out, storeTime
 
Constructor Summary
protected StrippedListenerWriter()
           
  StrippedListenerWriter(java.lang.String filename)
           
  StrippedListenerWriter(java.lang.String filename, boolean append)
           
  StrippedListenerWriter(java.lang.String filename, boolean append, boolean storeTime)
           
 
Method Summary
 java.lang.String doString(java.lang.Object current)
           
 void notify(MCMCEvent e)
          Function to be called for notification
 void print(java.lang.String ignored)
          Write arbitrary text to the output stream.
 void println(java.lang.String ignored)
          Write arbitrary text to the output stream.
 
Methods inherited from class org.omegahat.Simulation.MCMC.Listeners.ListenerWriter
close, finalize, flush
 
Methods inherited from class java.lang.Object
, clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

StrippedListenerWriter

protected StrippedListenerWriter()
                          throws java.io.IOException

StrippedListenerWriter

public StrippedListenerWriter(java.lang.String filename,
                              boolean append,
                              boolean storeTime)
                       throws java.io.IOException

StrippedListenerWriter

public StrippedListenerWriter(java.lang.String filename,
                              boolean append)
                       throws java.io.IOException

StrippedListenerWriter

public StrippedListenerWriter(java.lang.String filename)
                       throws java.io.IOException
Method Detail

doString

public java.lang.String doString(java.lang.Object current)

notify

public void notify(MCMCEvent e)
Description copied from interface: MCMCListener
Function to be called for notification
Overrides:
notify in class ListenerWriter

println

public void println(java.lang.String ignored)
Description copied from interface: MCMCListenerWriter
Write arbitrary text to the output stream.
Overrides:
println in class ListenerWriter

print

public void print(java.lang.String ignored)
Description copied from interface: MCMCListenerWriter
Write arbitrary text to the output stream.
Overrides:
print in class ListenerWriter