@Immutable public final class Header extends Gfa1Record
| Constructor and Description |
|---|
Header(Map<String,Tag> tags)
Create a new header GFA 1.0 record.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsVersionNumber()
Return true if the tags for this header contain
the reserved key
VN, for version number. |
boolean |
containsVn()
Return true if the tags for this header contain
the reserved key
VN. |
boolean |
equals(Object o) |
String |
getVersionNumber()
Return the version number for this header (Type=Z value for the
reserved key
VN as a string). |
Optional<String> |
getVersionNumberOpt()
Return an optional wrapping the version number for this header
(Type Z value for the reserved key
VN as a string). |
String |
getVn()
Return the Type=Z value for the reserved key
VN
as a string. |
Optional<String> |
getVnOpt()
Return an optional Type=Z value for the reserved key
VN
as a string. |
int |
hashCode() |
String |
toString() |
static Header |
valueOf(String value)
Parse a header GFA 1.0 record from the specified value.
|
containsTagKey, getTagByteArray, getTagByteArrayOpt, getTagBytes, getTagBytesOpt, getTagCharacter, getTagCharacterOpt, getTagFloat, getTagFloatOpt, getTagFloats, getTagFloatsOpt, getTagInteger, getTagIntegerOpt, getTagIntegers, getTagIntegersOpt, getTags, getTagString, getTagStringOptpublic boolean containsVn()
VN.VNpublic String getVn()
VN
as a string.VN
as a stringpublic Optional<String> getVnOpt()
VN
as a string.VN
as a stringpublic boolean containsVersionNumber()
VN, for version number.VN, for version numberpublic String getVersionNumber()
VN as a string).VN as a string)public Optional<String> getVersionNumberOpt()
VN as a string).VN as a string)Copyright © 2013–2020 dishevelled.org. All rights reserved.