Package ch.qos.logback.core.boolex
Class Matcher
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.boolex.Matcher
-
- All Implemented Interfaces:
ContextAware,LifeCycle
public class Matcher extends ContextAwareBase implements LifeCycle
-
-
Constructor Summary
Constructors Constructor Description Matcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()StringgetRegex()booleanisCanonEq()booleanisCaseSensitive()booleanisStarted()booleanisUnicodeCase()booleanmatches(String input)Checks whether the input matches the regular expression.voidsetCanonEq(boolean canonEq)voidsetCaseSensitive(boolean caseSensitive)voidsetName(String name)voidsetRegex(String regex)voidsetUnicodeCase(boolean unicodeCase)voidstart()voidstop()-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Method Detail
-
getRegex
public String getRegex()
-
setRegex
public void setRegex(String regex)
-
matches
public boolean matches(String input) throws EvaluationException
Checks whether the input matches the regular expression.- Parameters:
input-- Returns:
- Throws:
EvaluationException
-
isCanonEq
public boolean isCanonEq()
-
setCanonEq
public void setCanonEq(boolean canonEq)
-
isCaseSensitive
public boolean isCaseSensitive()
-
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
-
isUnicodeCase
public boolean isUnicodeCase()
-
setUnicodeCase
public void setUnicodeCase(boolean unicodeCase)
-
getName
public String getName()
-
setName
public void setName(String name)
-
-