APIdia Launch Partner
Top Fields Constructors Methods
com.sun.org.apache.xml.internal.security.utils

public Class UnsyncBufferedOutputStream

extends FilterOutputStream
Class Inheritance
Imports
java.io.FilterOutputStream, .IOException, .OutputStream

Field Summary

Modifier and TypeField and Description
protected byte[]
protected int
Inherited from java.io.FilterOutputStream:
out

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public void
flush()

Overrides java.io.FilterOutputStream.flush.

Implements java.io.Flushable.flush.

Flushes this output stream and forces any buffered output bytes to be written out to the stream.

private void
public void
write(byte[] bytes, int offset, int length)

Overrides java.io.FilterOutputStream.write.

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

public void
write(int oneByte)

Overrides java.io.FilterOutputStream.write.

Writes the specified byte to this output stream.

Inherited from java.io.FilterOutputStream:
closewrite

Field Detail

bufferback to summary
protected byte[] buffer
countback to summary
protected int count

Constructor Detail

UnsyncBufferedOutputStreamback to summary
public UnsyncBufferedOutputStream(OutputStream out)
UnsyncBufferedOutputStreamback to summary
public UnsyncBufferedOutputStream(OutputStream out, int size)

Method Detail

flushback to summary
public void flush() throws IOException

Overrides java.io.FilterOutputStream.flush.

Implements java.io.Flushable.flush.

Doc from java.io.FilterOutputStream.flush.

Flushes this output stream and forces any buffered output bytes to be written out to the stream.

Annotations
@Override
Exceptions
IOException:
if an I/O error occurs.
flushInternalback to summary
private void flushInternal() throws IOException
writeback to summary
public void write(byte[] bytes, int offset, int length) 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.

Annotations
@Override
Exceptions
IOException:
if an I/O error occurs.
writeback to summary
public void write(int oneByte) 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.

Annotations
@Override
Exceptions
IOException:
if an I/O error occurs.