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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()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, writeMethods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
TerminatorlessBlockCompressedOutputStream
-
-
Method Details
-
close
Description copied from class:BlockCompressedOutputStreamclose() must be called in order to flush any remaining buffered bytes. An unclosed file will likely be defective.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classBlockCompressedOutputStream- Throws:
IOException
-