Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.services.io
Class DebugByteTeeOutputStream  view DebugByteTeeOutputStream download DebugByteTeeOutputStream.java

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended byorg.apache.derby.iapi.services.io.DebugByteTeeOutputStream

class DebugByteTeeOutputStream
extends java.io.FilterOutputStream


Field Summary
private  AccessibleByteArrayOutputStream tee
           
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
(package private) DebugByteTeeOutputStream(java.io.OutputStream out)
           
 
Method Summary
(package private)  void checkObject(Formatable f)
           
 void write(byte[] b, int off, int len)
          This method calls the write(int) method len times for all bytes from the array buf starting at index offset.
 void write(int b)
          This method writes a single byte of output to the underlying OutputStream.
 
Methods inherited from class java.io.FilterOutputStream
close, flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tee

private AccessibleByteArrayOutputStream tee
Constructor Detail

DebugByteTeeOutputStream

DebugByteTeeOutputStream(java.io.OutputStream out)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Description copied from class: java.io.FilterOutputStream
This method writes a single byte of output to the underlying OutputStream.


write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Description copied from class: java.io.FilterOutputStream
This method calls the write(int) method len times for all bytes from the array buf starting at index offset. Subclasses should overwrite this method to get a more efficient implementation.


checkObject

void checkObject(Formatable f)