public static final class VcfHeader.Builder extends Object
Modifier and Type | Method and Description |
---|---|
VcfHeader |
build()
Create and return a new VCF header populated from the configuration of this VCF header builder.
|
VcfHeader.Builder |
reset()
Reset this VCF header builder.
|
VcfHeader.Builder |
withFileFormat(String fileFormat)
Return this VCF header builder configured with the specified file format.
|
VcfHeader.Builder |
withMeta(List<String> meta)
Return this VCF header builder configured with the specified meta-information header lines.
|
VcfHeader.Builder |
withMeta(String... meta)
Return this VCF header builder configured with the specified meta-information header lines.
|
VcfHeader.Builder |
withMeta(String meta)
Return this VCF header builder configured with the specified meta-information header line.
|
public VcfHeader.Builder withFileFormat(String fileFormat)
fileFormat
- file formatpublic VcfHeader.Builder withMeta(String meta)
meta
- meta-information header line, must not be nullpublic VcfHeader.Builder withMeta(String... meta)
meta
- one or more meta-information header lines, must not contain nullpublic VcfHeader.Builder withMeta(List<String> meta)
meta
- list of meta-information header lines, must not be null and must not contain nullpublic VcfHeader.Builder reset()
Copyright © 2014–2015. All rights reserved.