public class

LogOutputStream

extends OutputStream
java.lang.Object
   ↳ java.io.OutputStream
     ↳ sun.rmi.log.LogOutputStream

Summary

Public Constructors
LogOutputStream(RandomAccessFile raf)
Creates an output file with the specified system dependent file descriptor.
Public Methods
final void close()
Can not close a LogOutputStream, so this does nothing.
void write(byte[] b, int off, int len)
Writes a sub array of bytes.
void write(byte[] b)
Writes an array of bytes.
void write(int b)
Writes a byte of data.
[Expand]
Inherited Methods
From class java.io.OutputStream
From class java.lang.Object
From interface java.io.Closeable
From interface java.io.Flushable

Public Constructors

public LogOutputStream (RandomAccessFile raf)

Creates an output file with the specified system dependent file descriptor.

Throws
IOException If an I/O error has occurred.

Public Methods

public final void close ()

Can not close a LogOutputStream, so this does nothing.

Throws
IOException If an I/O error has occurred.

public void write (byte[] b, int off, int len)

Writes a sub array of bytes.

Parameters
b the data to be written
off the start offset in the data
len the number of bytes that are written
Throws
IOException If an I/O error has occurred.

public void write (byte[] b)

Writes an array of bytes. Will block until the bytes are actually written.

Parameters
b the data to be written
Throws
IOException If an I/O error has occurred.

public void write (int b)

Writes a byte of data. This method will block until the byte is actually written.

Parameters
b the byte to be written
Throws
IOException If an I/O error has occurred.