com.generationjava.io
Class TeeOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended bycom.generationjava.io.TeeOutputStream

public class TeeOutputStream
extends FilterOutputStream


Field Summary
protected  OutputStream branch
           
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
TeeOutputStream(OutputStream out, OutputStream branch)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.FilterOutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

branch

protected OutputStream branch
Constructor Detail

TeeOutputStream

public TeeOutputStream(OutputStream out,
                       OutputStream branch)
Method Detail

write

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

write

public void write(int b)
           throws IOException
Throws:
IOException

flush

public void flush()
           throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException


Copyright © 2000-2005 OSJava. All Rights Reserved.