Class RandomAccessOutputStream
java.lang.Object
java.io.OutputStream
org.archive.io.RandomAccessOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Wraps a RandomAccessFile with OutputStream interface.
- Author:
- gojomo
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWrap the given RandomAccessFile -
Method Summary
Methods inherited from class java.io.OutputStream
flush
-
Field Details
-
raf
-
-
Constructor Details
-
RandomAccessOutputStream
Wrap the given RandomAccessFile
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-