Top Fields Constructors Methods
org.apache.derby.iapi.services.io

pack-priv Class DebugByteTeeOutputStream

extends FilterOutputStream
Class Inheritance
Imports
java.io.*, org.apache.derby.iapi.services.io.AccessibleByteArrayOutputStream, org.apache.derby.shared.common.sanity.SanityManager

Field Summary

Modifier and TypeField and Description
private AccessibleByteArrayOutputStream
Inherited from java.io.FilterOutputStream:
out

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
public void
write(int
the byte.
b
)

Overrides java.io.FilterOutputStream.write.

Writes the specified byte to this output stream.

public void
write(byte[]
the data.
b
,
int
the start offset in the data.
off
,
int
the number of bytes to write.
len
)

Overrides java.io.FilterOutputStream.write.

Writes len bytes from the specified byte array starting at offset off to this output stream.

Inherited from java.io.FilterOutputStream:
closeflushwrite

Field Detail

teeback to summary
private AccessibleByteArrayOutputStream tee

Constructor Detail

DebugByteTeeOutputStreamback to summary
pack-priv DebugByteTeeOutputStream(OutputStream out)

Method Detail

checkObjectback to summary
pack-priv void checkObject(Formatable f)
writeback to summary
public void write(int b) throws IOException

Overrides java.io.FilterOutputStream.write.

Doc from java.io.FilterOutputStream.write.

Writes the specified byte to this output stream.

The write method of FilterOutputStream calls the write method of its underlying output stream, that is, it performs out.write(b).

Implements the abstract write method of OutputStream.

Parameters
b:int

the byte.

Exceptions
IOException:
if an I/O error occurs.
writeback to summary
public void write(byte[] b, int off, int len) throws IOException

Overrides java.io.FilterOutputStream.write.

Doc from java.io.FilterOutputStream.write.

Writes len bytes from the specified byte array starting at offset off to this output stream.

Parameters
b:byte[]

the data.

off:int

the start offset in the data.

len:int

the number of bytes to write.

Exceptions
IOException:
if an I/O error occurs.