Class SplitOperation
java.lang.Object
com.norconex.importer.handler.transformer.impl.SplitOperation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanGets field matcher for fields to split.getOnSet()The property setter to use when a value is set.inthashCode()booleanWhether the separator value is a regular expression.setFieldMatcher(TextMatcher fieldMatcher) Sets the field matcher for fields to split.setOnSet(PropertySetter onSet) The property setter to use when a value is set.setSeparator(String separator) setSeparatorRegex(boolean separatorRegex) Whether the separator value is a regular expression.setToField(String toField) toString()
-
Constructor Details
-
SplitOperation
public SplitOperation()
-
-
Method Details
-
getFieldMatcher
Gets field matcher for fields to split.- Returns:
- field matcher
-
setFieldMatcher
Sets the field matcher for fields to split.- Parameters:
fieldMatcher- field matcher
-
getToField
-
getOnSet
The property setter to use when a value is set.- Returns:
- property setter
-
getSeparator
-
isSeparatorRegex
public boolean isSeparatorRegex()Whether the separator value is a regular expression.- Returns:
trueif a regular expression.
-
setToField
- Returns:
this.
-
setOnSet
The property setter to use when a value is set.- Parameters:
onSet- property setter- Returns:
this.
-
setSeparator
- Returns:
this.
-
setSeparatorRegex
Whether the separator value is a regular expression.- Parameters:
separatorRegex-trueif a regular expression.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-