public class VcfReader extends Object implements Iterable<VcfRecord>, Closeable
In order to achieve high performance VcfRecord and VcfSample objects are recycled, use createClone() if you need to store these object in a iteration.
| Constructor and Description |
|---|
VcfReader(net.sf.samtools.util.BlockCompressedInputStream blockCompressedInputStream) |
VcfReader(Reader reader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
VcfMeta |
getVcfMeta() |
Iterator<VcfRecord> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic VcfReader(Reader reader)
public VcfReader(net.sf.samtools.util.BlockCompressedInputStream blockCompressedInputStream)
public VcfMeta getVcfMeta() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2019. All rights reserved.