public class FixedCharsDetectorFactory extends Object implements CharDetectorFactory
Constructor and Description |
---|
FixedCharsDetectorFactory() |
FixedCharsDetectorFactory(char... ends)
Build a FixedCharsDetector with no escape character and no white space detection.
|
FixedCharsDetectorFactory(Character escapeChar,
boolean stopAtWhiteSpace,
char... ends) |
Modifier and Type | Method and Description |
---|---|
CharDetector |
detector() |
char[] |
getEnds() |
Character |
getEscapeChar() |
boolean |
isStopAtWhiteSpace() |
void |
setEnds(char[] ends) |
void |
setEscapeChar(Character escapeChar) |
void |
setStopAtWhiteSpace(boolean stopAtWhiteSpace) |
public FixedCharsDetectorFactory()
public FixedCharsDetectorFactory(char... ends)
public FixedCharsDetectorFactory(Character escapeChar, boolean stopAtWhiteSpace, char... ends)
public CharDetector detector()
detector
in interface CharDetectorFactory
public char[] getEnds()
public void setEnds(char[] ends)
public boolean isStopAtWhiteSpace()
public void setStopAtWhiteSpace(boolean stopAtWhiteSpace)
public Character getEscapeChar()
public void setEscapeChar(Character escapeChar)