com.artenum.jyconsole.io
Class NotSingleThreadStream

java.lang.Object
  extended byjava.io.OutputStream
      extended bycom.artenum.jyconsole.io.SingleStream
          extended bycom.artenum.jyconsole.io.NotSingleThreadStream

public class NotSingleThreadStream
extends SingleStream

Author:
Sebastien Jourdain, jourdain@artenum.com

Constructor Summary
NotSingleThreadStream(java.io.OutputStream os, java.lang.String threadName)
           
 
Method Summary
 boolean isActive()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
close, flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotSingleThreadStream

public NotSingleThreadStream(java.io.OutputStream os,
                             java.lang.String threadName)
Method Detail

isActive

public boolean isActive()
Specified by:
isActive in class SingleStream

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException


 (c) Copyright: Artenum SARL, 101-103 Boulevard Mac Donald, 
                75019, Paris, France 2005.
                http://www.artenum.com
 
 License:

  This program is free software; you can redistribute it 
  and/or modify it under the terms of the Q Public License; 
  either version 1 of the License.

  This program is distributed in the hope that it will be
  useful, but WITHOUT ANY WARRANTY; without even the implied
  warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
  PURPOSE. See the Q Public License for more details.

  You should have received a copy of the Q Public License 
  License along with this program; 
  if not, write to:
    Artenum SARL, 101-103 Boulevard Mac Donald,
    75019, PARIS, FRANCE, e-mail: contact@artenum.com