Package htsjdk.samtools.util
Class TerminatorlessBlockCompressedOutputStream
java.lang.Object
java.io.OutputStream
htsjdk.samtools.util.BlockCompressedOutputStream
htsjdk.samtools.util.TerminatorlessBlockCompressedOutputStream
- All Implemented Interfaces:
LocationAware
,Closeable
,Flushable
,AutoCloseable
An extension of
BlockCompressedOutputStream
that doesn't write an empty BGZF block at the
end of the stream.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
close() must be called in order to flush any remaining buffered bytes.Methods inherited from class htsjdk.samtools.util.BlockCompressedOutputStream
addIndexer, close, flush, getDefaultCompressionLevel, getDefaultDeflaterFactory, getFilePointer, getPosition, maybeBgzfWrapOutputStream, setDefaultCompressionLevel, setDefaultDeflaterFactory, write, write, write
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
TerminatorlessBlockCompressedOutputStream
-
-
Method Details
-
close
Description copied from class:BlockCompressedOutputStream
close() must be called in order to flush any remaining buffered bytes. An unclosed file will likely be defective.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classBlockCompressedOutputStream
- Throws:
IOException
-