public class BufferedRAFOutputStream extends OutputStream
| Constructor and Description |
|---|
BufferedRAFOutputStream(RandomAccessFile raf)
Contructs a new output stream
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
long |
getFilePointer()
Returns the current filepointer
|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public BufferedRAFOutputStream(RandomAccessFile raf) throws IOException
raf - IOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionOutputStream.write(int)public void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionOutputStream.write(byte[])public void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionOutputStream.write(byte[], int, int)public void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionOutputStream.flush()public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionOutputStream.close()public long getFilePointer()
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"