public class RandomAccessOutputStream extends OutputStream
| Constructor and Description |
|---|
RandomAccessOutputStream(RandomAccessWrite writer)
Constructor to create a new output stream which writes to the given RandomAccessWrite.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] b) |
void |
write(byte[] b,
int offset,
int length) |
void |
write(int b) |
close, flushpublic RandomAccessOutputStream(RandomAccessWrite writer)
writer - The random access writer for outputpublic void write(byte[] b,
int offset,
int length)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.