|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codelabor.system.pattern.service.AbstractPatternMatcher
public abstract class AbstractPatternMatcher
패턴 매처 추상 클래스
매처에 공통적으로 필요한 패턴 리스트 처리 방법을 추상화 한다.
Field Summary | |
---|---|
protected List<String> |
excludesPatternList
제외할 패턴 List (String 타입) |
protected List<String> |
includesPatternList
포함할 패턴 List (String 타입) |
Constructor Summary | |
---|---|
AbstractPatternMatcher()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
List<String> |
getExcludesPatternList()
제외할 패턴 List를 가져온다. |
List<String> |
getIncludesPatternList()
포함할 패턴 List를 가져온다. |
abstract boolean |
matches(List<String> includesPatternList,
List<String> excludesPatternList,
String inputString)
패턴 일치 여부를 확인한다. |
abstract boolean |
matches(List<String> patternList,
String inputString)
패턴 일치 여부를 확인한다. |
abstract boolean |
matches(String inputString)
패턴 일치 여부를 확인한다. |
abstract boolean |
matches(String pattern,
String inputString)
패턴 일치 여부를 확인한다. |
void |
setExcludesPatternList(List<String> excludesPatternList)
제외할 패턴 List를 설정한다. |
void |
setIncludesPatternList(List<String> includesPatternList)
포함할 패턴 List를 설정한다. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<String> excludesPatternList
protected List<String> includesPatternList
Constructor Detail |
---|
public AbstractPatternMatcher()
Method Detail |
---|
public abstract boolean matches(String inputString)
PatternMatcher
matches
in interface PatternMatcher
inputString
- 확인 대상 문자열
public abstract boolean matches(String pattern, String inputString)
PatternMatcher
matches
in interface PatternMatcher
pattern
- 패턴inputString
- 확인 대상 문자열
public abstract boolean matches(List<String> patternList, String inputString)
PatternMatcher
matches
in interface PatternMatcher
patternList
- 패턴 ListinputString
- 확인 대상 문자열
public abstract boolean matches(List<String> includesPatternList, List<String> excludesPatternList, String inputString)
PatternMatcher
matches
in interface PatternMatcher
includesPatternList
- 포함할 패턴 ListexcludesPatternList
- 제외할 패턴 ListinputString
- 확인 대상 문자열
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public List<String> getExcludesPatternList()
public List<String> getIncludesPatternList()
public void setExcludesPatternList(List<String> excludesPatternList)
excludesPatternList
- 패턴 Listpublic void setIncludesPatternList(List<String> includesPatternList)
includesPatternList
- 패턴 List
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |