| Log4j 1.2.13 | |
| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.log4j.spi.Filterorg.apache.log4j.varia.StringMatchFilterpublic class StringMatchFilterextends FilterLoggingEvent,
then the decide(LoggingEvent) method returns Filter.ACCEPT if
the AcceptOnMatch option value is true, if it is false then
Filter.DENY is returned. If there is no match, Filter.NEUTRAL is returned.
Field Summary | |
static String |
|
static String |
|
Method Summary | |
int |
|
boolean | |
String[] |
|
String | |
void |
|
void |
|
void |
|
Methods inherited from class org.apache.log4j.spi.Filter | |
activateOptions, decide, getNext, setNext | |
public static final String ACCEPT_ON_MATCH_OPTION
Deprecated. Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
public static final String STRING_TO_MATCH_OPTION
Deprecated. Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
public boolean getAcceptOnMatch()
public String[] getOptionStrings()
Deprecated. We now use JavaBeans introspection to configure components. Options strings are no longer needed.
public String getStringToMatch()
public void setAcceptOnMatch(boolean acceptOnMatch)
public void setOption(String key,
String value)Deprecated. Use the setter method for the option directly instead of the generic
setOptionmethod.
public void setStringToMatch(String s)