public class ExtendedFieldOptions extends Object
Modifier and Type | Field and Description |
---|---|
static String |
KEYVALUESEPARATOR
Key-Value separator.
|
static String |
NEWLINE
Line separator.
|
Constructor and Description |
---|
ExtendedFieldOptions(String aLines)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getOptions() |
String |
getOptionsString() |
boolean |
isKeyValid(String aKey)
Check, if the given key is a valid option.
|
boolean |
isValid()
Is these ExtendedField options valid.
|
public static final String KEYVALUESEPARATOR
public ExtendedFieldOptions(String aLines)
aLines
- Options separated by newlines (Null argument allowed)public boolean isValid()
public Map<String,String> getOptions()
public String getOptionsString()
public boolean isKeyValid(String aKey)
aKey
- a given option key.Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.