Class LogStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--LogStream

public class LogStream
extends java.io.OutputStream


Field Summary
(package private)  boolean done
           
(package private) static int maxmessage
           
(package private)  java.lang.StringBuffer message
           
(package private)  java.io.OutputStream okstream
           
 
Constructor Summary
LogStream(java.io.OutputStream okstream)
           
 
Method Summary
(package private)  void accumulate(java.lang.String s)
           
 void close()
           
 void flush()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

okstream

java.io.OutputStream okstream

maxmessage

static int maxmessage

message

java.lang.StringBuffer message

done

boolean done
Constructor Detail

LogStream

public LogStream(java.io.OutputStream okstream)
Method Detail

accumulate

void accumulate(java.lang.String s)

write

public void write(byte[] b)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
java.io.IOException

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
java.io.IOException

flush

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

close

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