@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, write
public IFileOutputStream(OutputStream out)
out
- public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
public void finish() throws IOException
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
Copyright © 2016 Apache Software Foundation. All Rights Reserved.