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, flush
public RandomAccessOutputStream(RandomAccessWrite writer)
writer
- The random access writer for outputpublic void write(byte[] b, int offset, int length) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.