@InterfaceAudience.Private @InterfaceStability.Unstable public class IFileOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
IFileOutputStream(OutputStream out)
Create a checksum output stream that writes
the bytes to the given stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finish()
Finishes writing data to the output stream, by writing
the checksum bytes to the end.
|
void |
write(byte[] b,
int off,
int len)
Write bytes to the stream.
|
void |
write(int b) |
flush, writepublic IFileOutputStream(OutputStream out)
out - public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionpublic void finish()
throws IOException
IOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class FilterOutputStreamIOExceptionCopyright © 2008–2019 Apache Software Foundation. All rights reserved.