public class FormatMetadata extends IdDescriptionMetadata
##FORMAT=<ID=ID,Number=number,Type=type,Description="description">
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DESCRIPTION |
static java.lang.String |
ID |
static java.lang.String |
NUMBER |
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
FormatMetadata(java.util.Map<java.lang.String,java.lang.String> properties) |
FormatMetadata(java.lang.String id,
java.lang.String description,
java.lang.String number,
FormatType type) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNumber()
Value is either an integer or ".".
|
SpecialVcfNumber |
getReservedNumber() |
FormatType |
getType() |
void |
init() |
getDescriptiongetIdensureNoExtras, getPropertiesRaw, getPropertiesUnquoted, getPropertyKeys, getPropertyRaw, getPropertyUnquoted, putAndQuoteProperty, putPropertyRawpublic static final java.lang.String ID
public static final java.lang.String DESCRIPTION
public static final java.lang.String NUMBER
public static final java.lang.String TYPE
public FormatMetadata(@Nonnull
java.lang.String id,
@Nonnull
java.lang.String description,
@Nonnull
java.lang.String number,
@Nonnull
FormatType type)
public FormatMetadata(@Nonnull
java.util.Map<java.lang.String,java.lang.String> properties)
public void init()
@Nullable public java.lang.String getNumber()
@Nullable public SpecialVcfNumber getReservedNumber()
@Nullable public FormatType getType()