Package htsjdk.samtools.util
Class GZIIndex.GZIIndexer
java.lang.Object
htsjdk.samtools.util.GZIIndex.GZIIndexer
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
GZIIndex
Helper class for constructing the GZIindex.
In order to construct a GZI index addGzipBlock() should be called every time a new Gzip Block is written out and
the entire index will be written out when close() is called.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addGzipBlock
(long compressedFileOffset, long uncompressedBlockSize) void
close()
-
Constructor Details
-
GZIIndexer
-
GZIIndexer
- Throws:
IOException
-
-
Method Details
-
addGzipBlock
public void addGzipBlock(long compressedFileOffset, long uncompressedBlockSize) -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-