Package org.apache.commons.io.output
Class RandomAccessFileOutputStream
java.lang.Object
java.io.OutputStream
org.apache.commons.io.output.RandomAccessFileOutputStream
- All Implemented Interfaces:
- Closeable,- Flushable,- AutoCloseable
An 
OutputStream that writes to a RandomAccessFile.- Since:
- 2.18.0
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()Constructs a newRandomAccessFileOutputStream.Builder.voidclose()voidflush()Gets the underlying random access file.voidwrite(int b) Methods inherited from class java.io.OutputStreamwrite, write
- 
Method Details- 
builderConstructs a newRandomAccessFileOutputStream.Builder.- Returns:
- a new RandomAccessFileOutputStream.Builder.
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- OutputStream
- Throws:
- IOException
 
- 
flush- Specified by:
- flushin interface- Flushable
- Overrides:
- flushin class- OutputStream
- Throws:
- IOException
 
- 
getRandomAccessFileGets the underlying random access file.- Returns:
- the underlying random access file.
- Since:
- 2.19.0
 
- 
write- Specified by:
- writein class- OutputStream
- Throws:
- IOException
 
 
-