XMT-O Reference Software

xmto2xmta.timegraph
Class Tracer

java.lang.Object
  |
  +--java.io.Writer
        |
        +--xmto2xmta.timegraph.Tracer

public class Tracer
extends java.io.Writer

A java.io.Writer class that wraps the fireErrorEvent method of TimeScheduler.

History:


Field Summary
private  java.lang.StringBuffer buffer
           
private  int msgLevel
           
private  TimeScheduler timeScheduler
           
 
Fields inherited from class java.io.Writer
lock, writeBuffer, writeBufferSize
 
Constructor Summary
Tracer(TimeScheduler timeScheduler, int msgLevel)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(char[] cbuf)
           
 void write(char[] cbuf, int off, int len)
           
 void write(int c)
           
 void write(java.lang.String str)
           
 void write(java.lang.String str, int off, int len)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

timeScheduler

private TimeScheduler timeScheduler

msgLevel

private int msgLevel

buffer

private java.lang.StringBuffer buffer
Constructor Detail

Tracer

public Tracer(TimeScheduler timeScheduler,
              int msgLevel)
Method Detail

flush

public void flush()
           throws java.io.IOException
Overrides:
flush in class java.io.Writer

close

public void close()
           throws java.io.IOException
Overrides:
close in class java.io.Writer

write

public void write(char[] cbuf,
                  int off,
                  int len)
           throws java.io.IOException
Overrides:
write in class java.io.Writer

write

public void write(char[] cbuf)
           throws java.io.IOException
Overrides:
write in class java.io.Writer

write

public void write(int c)
           throws java.io.IOException
Overrides:
write in class java.io.Writer

write

public void write(java.lang.String str)
           throws java.io.IOException
Overrides:
write in class java.io.Writer

write

public void write(java.lang.String str,
                  int off,
                  int len)
           throws java.io.IOException
Overrides:
write in class java.io.Writer

XMT-O Reference Software