java.io.Closeable, java.io.Flushable, java.lang.AutoCloseablepublic class RandomAccessOutputStream
extends java.io.OutputStream
| Constructor | Description |
|---|---|
RandomAccessOutputStream(RandomAccessWrite writer) |
Constructor to create a new output stream which writes to the given RandomAccessWrite.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
write(byte[] b) |
|
void |
write(byte[] b,
int offset,
int length) |
|
void |
write(int b) |
public RandomAccessOutputStream(RandomAccessWrite writer)
writer - The random access writer for outputpublic void write(byte[] b,
int offset,
int length)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionCopyright © 2002–2018. All rights reserved.