Class 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 Detail

      • Settings

        public Settings()
    • Method Detail

      • validate

        public boolean validate()
        Specified by:
        validate in interface io.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)