Module io.annot8.components.text
Class KeyValuePairs.Settings
- java.lang.Object
-
- io.annot8.components.text.processors.KeyValuePairs.Settings
-
- All Implemented Interfaces:
io.annot8.api.settings.Settings
- Enclosing class:
- KeyValuePairs
public static class KeyValuePairs.Settings extends Object implements io.annot8.api.settings.Settings
-
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAnnotationType()StringgetKeyValueSeparator()intgetMaxKeyLength()StringgetValueSeparator()booleanisIgnoreEmptyValues()voidsetAnnotationType(String annotationType)voidsetIgnoreEmptyValues(boolean ignoreEmptyValues)voidsetKeyValueSeparator(String keyValueSeparator)voidsetMaxKeyLength(int maxKeyLength)voidsetValueSeparator(String valueSeparator)booleanvalidate()
-
-
-
Method Detail
-
validate
public boolean validate()
- Specified by:
validatein interfaceio.annot8.api.settings.Settings
-
getAnnotationType
@Description("The annotation type") public String getAnnotationType()
-
setAnnotationType
public void setAnnotationType(String annotationType)
-
getKeyValueSeparator
@Description("The character(s) that separate the key from the value - can be a regular expression") public String getKeyValueSeparator()
-
setKeyValueSeparator
public void setKeyValueSeparator(String keyValueSeparator)
-
getValueSeparator
@Description("The character(s) that split values into multiple values - can be a regular expression, or null to disable") public String getValueSeparator()
-
setValueSeparator
public void setValueSeparator(String valueSeparator)
-
isIgnoreEmptyValues
@Description("If true, then empty values are ignored") public boolean isIgnoreEmptyValues()
-
setIgnoreEmptyValues
public void setIgnoreEmptyValues(boolean ignoreEmptyValues)
-
getMaxKeyLength
@Description("The maximum key length (keys longer than this will be ignored), or -1 to accept all keys") public int getMaxKeyLength()
-
setMaxKeyLength
public void setMaxKeyLength(int maxKeyLength)
-
-