xmlBlaster 2.2.0 client API

org.xmlBlaster.util.log
Class StdoutStderrOutputstream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.ByteArrayOutputStream
          extended by org.xmlBlaster.util.log.StdoutStderrOutputstream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class StdoutStderrOutputstream
extends java.io.ByteArrayOutputStream


Field Summary
 
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
 
Constructor Summary
StdoutStderrOutputstream(StdoutStderrRedirector redirector, java.util.logging.Logger logger, java.util.logging.Level level)
           
 
Method Summary
 void flush()
          on flush write the contents of the OutputStream to the logger
 
Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
 
Methods inherited from class java.io.OutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StdoutStderrOutputstream

public StdoutStderrOutputstream(StdoutStderrRedirector redirector,
                                java.util.logging.Logger logger,
                                java.util.logging.Level level)
Parameters:
logger - The logger to write to
level - The level at which to write
Method Detail

flush

public void flush()
on flush write the contents of the OutputStream to the logger

Specified by:
flush in interface java.io.Flushable
Overrides:
flush in class java.io.OutputStream

xmlBlaster 2.2.0 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.