public static class MetadataModel.SectionEntry extends Object
Modifier and Type | Field and Description |
---|---|
private String |
key |
private String |
value |
private String[] |
values |
Constructor and Description |
---|
SectionEntry(String key,
String... values)
Create a new section entry with an array of values.
|
SectionEntry(String key,
String value)
Create a new single-valued section entry.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Get the key of the entry.
|
String |
getValue()
Get the value of the entry.
|
int |
getValueCount()
Get the number of values in the entry.
|
String[] |
getValues()
Get all values.
|
public SectionEntry(String key, String value)
key
- The key of the entryvalue
- The value of the entrypublic String getKey()
public int getValueCount()
public String getValue()
public String[] getValues()