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

public final Class NullOutputStream

extends OutputStream
Class Inheritance
Imports
java.io.OutputStream

An OutputStream that simply discards all data written to it.

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements abstract java.io.OutputStream.write.

Discard the data.

public void
write(byte[]
the data.
b
)

Overrides java.io.OutputStream.write.

Discard the data.

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.OutputStream.write.

Discard the data.

Inherited from java.io.OutputStream:
closeflushnullOutputStream

Constructor Detail

NullOutputStreamback to summary
public NullOutputStream()

Method Detail

writeback to summary
public void write(int b)

Implements abstract java.io.OutputStream.write.

Discard the data.

Parameters
b:int

Doc from java.io.OutputStream.write.

the byte.

See Also
OutputStream#write
writeback to summary
public void write(byte[] b)

Overrides java.io.OutputStream.write.

Discard the data.

Parameters
b:byte[]

Doc from java.io.OutputStream.write.

the data.

See Also
OutputStream#write
writeback to summary
public void write(byte[] b, int off, int len)

Overrides java.io.OutputStream.write.

Discard the data.

Parameters
b:byte[]

Doc from java.io.OutputStream.write.

the data.

off:int

Doc from java.io.OutputStream.write.

the start offset in the data.

len:int

Doc from java.io.OutputStream.write.

the number of bytes to write.

See Also
OutputStream#write