- java.lang.Object
-
- io.annot8.components.text.processors.Split.Settings
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Integer,String>getGroupProperties()PatterngetSplitOn()booleanisRemoveSourceContent()voidsetGroupProperties(Map<Integer,String> groupProperties)voidsetRemoveSourceContent(boolean removeSourceContent)voidsetSplitOn(Pattern splitOn)booleanvalidate()
-
-
-
Method Detail
-
validate
public boolean validate()
- Specified by:
validatein interfaceio.annot8.api.settings.Settings
-
getSplitOn
@Description("The pattern that text content will be split on") public Pattern getSplitOn()
-
setSplitOn
public void setSplitOn(Pattern splitOn)
-
isRemoveSourceContent
@Description(value="Should the source Content be removed after successful processing?", defaultValue="true") public boolean isRemoveSourceContent()
-
setRemoveSourceContent
public void setRemoveSourceContent(boolean removeSourceContent)
-
getGroupProperties
@Description("Mapping of groups in the split regex to properties - if set, the value of the group will be assigned to the specified property on the content following the split") public Map<Integer,String> getGroupProperties()
-
-