| Modifier and Type | Field and Description |
|---|---|
| private RandomAccessFile |
| Access | Constructor and Description |
|---|---|
| public | LogOutputStream(RandomAccessFile
the system dependent file descriptor. raf)Creates an output file with the specified system dependent file descriptor. |
| Modifier and Type | Method and Description |
|---|---|
| public final void | close()
Overrides java. Implements java. Can not close a LogOutputStream, so this does nothing. |
| public void | write(int
the byte to be written b)Implements abstract java. Writes a byte of data. |
| public void | write(byte[]
the data to be written b)Overrides java. Writes an array of bytes. |
| public void | write(byte[]
the data to be written b, int the start offset in the data off, int the number of bytes that are written len)Overrides java. Writes a sub array of bytes. |
| raf | back to summary |
|---|---|
| private RandomAccessFile raf | |
| LogOutputStream | back to summary |
|---|---|
| public LogOutputStream(RandomAccessFile raf) throws IOException Creates an output file with the specified system dependent file descriptor.
| |
| close | back to summary |
|---|---|
| public final void close() throws IOException Overrides java. Implements java. Can not close a LogOutputStream, so this does nothing.
| |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract java. Writes a byte of data. This method will block until the byte is actually written.
| |
| write | back to summary |
|---|---|
| public void write(byte[] b) throws IOException Overrides java. Writes an array of bytes. Will block until the bytes are actually written.
| |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Writes a sub array of bytes.
| |