Class StripBetweenTransformer.StripBetweenDetails
- java.lang.Object
-
- com.norconex.importer.handler.transformer.impl.StripBetweenTransformer.StripBetweenDetails
-
- Enclosing class:
- StripBetweenTransformer
public static class StripBetweenTransformer.StripBetweenDetails extends Object
- Since:
- 3.0.0
-
-
Constructor Summary
Constructors Constructor Description StripBetweenDetails()Constructor.StripBetweenDetails(TextMatcher startMatcher, TextMatcher endMatcher)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)TextMatchergetEndMatcher()Gets the end delimiter matcher for text to strip.TextMatchergetStartMatcher()Gets the start delimiter matcher for text to strip.inthashCode()booleanisInclusive()voidsetEndMatcher(TextMatcher endMatcher)Sets the end delimiter matcher for text to strip.voidsetInclusive(boolean inclusive)voidsetStartMatcher(TextMatcher startMatcher)Sets the start delimiter matcher for text to strip.StringtoString()
-
-
-
Constructor Detail
-
StripBetweenDetails
public StripBetweenDetails()
Constructor.
-
StripBetweenDetails
public StripBetweenDetails(TextMatcher startMatcher, TextMatcher endMatcher)
Constructor.- Parameters:
startMatcher- start matcherendMatcher- end matcher
-
-
Method Detail
-
getStartMatcher
public TextMatcher getStartMatcher()
Gets the start delimiter matcher for text to strip.- Returns:
- start delimiter matcher
-
setStartMatcher
public void setStartMatcher(TextMatcher startMatcher)
Sets the start delimiter matcher for text to strip.- Parameters:
startMatcher- start delimiter matcher
-
getEndMatcher
public TextMatcher getEndMatcher()
Gets the end delimiter matcher for text to strip.- Returns:
- end delimiter matcher
-
setEndMatcher
public void setEndMatcher(TextMatcher endMatcher)
Sets the end delimiter matcher for text to strip.- Parameters:
endMatcher- end delimiter matcher
-
isInclusive
public boolean isInclusive()
-
setInclusive
public void setInclusive(boolean inclusive)
-
-