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