Class RAFOutputStream
java.lang.Object
java.io.OutputStream
ecmwf.common.callback.RAFOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
The Class RAFOutputStream.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class OutputStream
nullOutputStream
-
Constructor Details
-
RAFOutputStream
Instantiates a new RAF output stream.- Parameters:
raf- the raf
-
-
Method Details
-
flush
Flush.- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException- Signals that an I/O exception has occurred.
-
write
Write.- Overrides:
writein classOutputStream- Parameters:
b- the b- Throws:
IOException- Signals that an I/O exception has occurred.
-
write
Write.- Overrides:
writein classOutputStream- Parameters:
b- the boff- the offlen- the len- Throws:
IOException- Signals that an I/O exception has occurred.
-
write
Write.- Specified by:
writein classOutputStream- Parameters:
b- the b- Throws:
IOException- Signals that an I/O exception has occurred.
-
close
Closes this stream and performs all associated cleanup.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException- If an error occurs during closing.
-