Package ucar.nc2.stream
Class NcStreamCompressedOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- java.io.DataOutputStream
-
- ucar.nc2.stream.NcStreamCompressedOutputStream
-
- All Implemented Interfaces:
Closeable
,DataOutput
,Flushable
,AutoCloseable
public class NcStreamCompressedOutputStream extends DataOutputStream
Created by rmay on 8/13/15.
-
-
Field Summary
-
Fields inherited from class java.io.DataOutputStream
written
-
Fields inherited from class java.io.FilterOutputStream
out
-
-
Constructor Summary
Constructors Constructor Description NcStreamCompressedOutputStream(OutputStream out, int bufferSize, int level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush()
-
Methods inherited from class java.io.DataOutputStream
size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
-
Methods inherited from class java.io.FilterOutputStream
close, write
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.io.DataOutput
write
-
-
-
-
Constructor Detail
-
NcStreamCompressedOutputStream
public NcStreamCompressedOutputStream(OutputStream out, int bufferSize, int level)
-
-
Method Detail
-
flush
public void flush() throws IOException
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classDataOutputStream
- Throws:
IOException
-
-