java.io.Closeable
, java.io.Flushable
, java.lang.AutoCloseable
public 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.OutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
Copyright © 2002–2018. All rights reserved.