Module io.annot8.components.text
Class Discard.Settings
- java.lang.Object
-
- io.annot8.components.text.processors.Discard.Settings
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatterngetDiscardOn()booleanisInverse()voidsetDiscardOn(Pattern discardOn)voidsetInverse(boolean inverse)booleanvalidate()
-
-
-
Constructor Detail
-
Settings
public Settings()
-
Settings
public Settings(Pattern discardOn, boolean inverse)
-
-
Method Detail
-
validate
public boolean validate()
- Specified by:
validatein interfaceio.annot8.api.settings.Settings
-
getDiscardOn
@Description("The pattern to match to determine whether text should be discarded") public Pattern getDiscardOn()
-
setDiscardOn
public void setDiscardOn(Pattern discardOn)
-
isInverse
@Description("If true, then text that doesn\'t match will be discarded (rather than text that does match)") public boolean isInverse()
-
setInverse
public void setInverse(boolean inverse)
-
-