public final class RandomAccessFileOutputStream
extends java.io.OutputStream
OutputStream that writes to a RandomAccessFile.| Modifier and Type | Class and Description |
|---|---|
static class |
RandomAccessFileOutputStream.Builder
Builds a new
RandomAccessFileOutputStream. |
| Modifier and Type | Method and Description |
|---|---|
static RandomAccessFileOutputStream.Builder |
builder()
Constructs a new
RandomAccessFileOutputStream.Builder. |
void |
close() |
void |
flush() |
java.io.RandomAccessFile |
getRandomAccessFile()
Gets the underlying random access file.
|
void |
write(int b) |
public static RandomAccessFileOutputStream.Builder builder()
RandomAccessFileOutputStream.Builder.RandomAccessFileOutputStream.Builder.public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic java.io.RandomAccessFile getRandomAccessFile()
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionCopyright © 2010 - 2025 Adobe. All Rights Reserved