public static class SplitTagger.SplitDetails extends Object
Constructor and Description |
---|
SplitDetails() |
SplitDetails(String fromField,
String separator,
boolean regex)
Deprecated.
Since 3.0.0.
|
SplitDetails(String fromField,
String toField,
String separator,
boolean regex)
Deprecated.
Since 3.0.0.
|
SplitDetails(TextMatcher fieldMatcher,
String toField,
String separator)
Constructor.
|
SplitDetails(TextMatcher fieldMatcher,
String toField,
String separator,
boolean separatorRegex)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
TextMatcher |
getFieldMatcher()
Gets field matcher for fields to split.
|
String |
getFromField()
Deprecated.
Since 3.0.0, use
getFieldMatcher() instead |
PropertySetter |
getOnSet()
Gets the property setter to use when a value is set.
|
String |
getSeparator() |
String |
getToField() |
int |
hashCode() |
boolean |
isRegex()
Deprecated.
Since 3.0.0, use
isSeparatorRegex() instead |
boolean |
isSeparatorRegex()
Gets whether the separator value is a regular expression.
|
void |
setFieldMatcher(TextMatcher fieldMatcher)
Sets the field matcher for fields to split.
|
void |
setFromField(String fromField)
Deprecated.
Since 3.0.0, use
setFieldMatcher(TextMatcher) instead |
void |
setOnSet(PropertySetter onSet)
Sets the property setter to use when a value is set.
|
void |
setRegex(boolean regex)
Deprecated.
Since 3.0.0, use
setSeparatorRegex(boolean) instead |
void |
setSeparator(String separator) |
void |
setSeparatorRegex(boolean regex)
Sets whether the separator value is a regular expression.
|
void |
setToField(String toField) |
String |
toString() |
public SplitDetails()
@Deprecated public SplitDetails(String fromField, String separator, boolean regex)
fromField
- source fieldseparator
- split separatorregex
- is separator a regular expression@Deprecated public SplitDetails(String fromField, String toField, String separator, boolean regex)
fromField
- source fieldtoField
- target fieldseparator
- split separatorregex
- is separator a regular expressionpublic SplitDetails(TextMatcher fieldMatcher, String toField, String separator)
fieldMatcher
- source field matchertoField
- target fieldseparator
- split separatorpublic SplitDetails(TextMatcher fieldMatcher, String toField, String separator, boolean separatorRegex)
fieldMatcher
- source field matchertoField
- target fieldseparator
- split separatorseparatorRegex
- whether the separator is a regular expressionpublic TextMatcher getFieldMatcher()
public void setFieldMatcher(TextMatcher fieldMatcher)
fieldMatcher
- field matcher@Deprecated public String getFromField()
getFieldMatcher()
instead@Deprecated public void setFromField(String fromField)
setFieldMatcher(TextMatcher)
insteadfromField
- from field.public String getToField()
public void setToField(String toField)
public String getSeparator()
public void setSeparator(String separator)
@Deprecated public boolean isRegex()
isSeparatorRegex()
insteadtrue
if regex is usedpublic boolean isSeparatorRegex()
true
if a regular expression.@Deprecated public void setRegex(boolean regex)
setSeparatorRegex(boolean)
insteadregex
- true
if regex is usedpublic void setSeparatorRegex(boolean regex)
regex
- true
if a regular expression.public PropertySetter getOnSet()
public void setOnSet(PropertySetter onSet)
onSet
- property setterCopyright © 2009–2023 Norconex Inc.. All rights reserved.