public interface PatternDefine
Modifier and Type | Method and Description |
---|---|
String |
getFullMatchText(String string)
根据正文返回完整部分
|
Pattern |
getPattern()
返回正则匹配
|
String |
getPureMatchText(String string)
返回正文部分
|
char |
getSplitChar()
返回分隔符
|
void |
setPatternString(String patternString)
设置正则表达式中间部分
|
void |
setPostfixPatternString(String postfixPatternString)
设置后缀
|
void |
setPrefixPatternString(String prefixPatternString)
设置前缀
|
void |
setSplitChar(char splitChar)
设置域分隔符
|
Pattern getPattern()
void setPrefixPatternString(String prefixPatternString)
prefixPatternString
- void setPostfixPatternString(String postfixPatternString)
postfixPatternString
- void setPatternString(String patternString)
patternString
- char getSplitChar()
void setSplitChar(char splitChar)
Copyright © 2006–2018 TinyGroup. All rights reserved.