public class PatternCharDetectorFactory extends Object implements CharDetectorFactory
Constructor and Description |
---|
PatternCharDetectorFactory() |
PatternCharDetectorFactory(Character escapeChar,
boolean stopAtWhiteSpace,
Pattern pattern) |
PatternCharDetectorFactory(Pattern pattern)
Build a FixedCharsDetector with no escape character and no white space detection.
|
Modifier and Type | Method and Description |
---|---|
CharDetector |
detector() |
Character |
getEscapeChar() |
Pattern |
getPattern() |
boolean |
isStopAtWhiteSpace() |
void |
setEscapeChar(Character escapeChar) |
void |
setPattern(Pattern pattern) |
void |
setStopAtWhiteSpace(boolean stopAtWhiteSpace) |
public PatternCharDetectorFactory()
public PatternCharDetectorFactory(Pattern pattern)
public CharDetector detector()
detector
in interface CharDetectorFactory
public Pattern getPattern()
public void setPattern(Pattern pattern)
public boolean isStopAtWhiteSpace()
public void setStopAtWhiteSpace(boolean stopAtWhiteSpace)
public Character getEscapeChar()
public void setEscapeChar(Character escapeChar)