Package org.apache.log4j.builders.filter
Class StringMatchFilterBuilder
java.lang.Object
org.apache.log4j.builders.AbstractBuilder<Filter>
org.apache.log4j.builders.filter.StringMatchFilterBuilder
- All Implemented Interfaces:
Builder<Filter>,FilterBuilder,Parser<Filter>
@Plugin(name="org.apache.log4j.varia.StringMatchFilter",
category="Log4j Builder")
public class StringMatchFilterBuilder
extends AbstractBuilder<Filter>
implements FilterBuilder
Build a String match filter.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Loggerprivate static final StringFields inherited from class org.apache.log4j.builders.AbstractBuilder
APPEND_PARAM, BUFFER_SIZE_PARAM, BUFFERED_IO_PARAM, FILE_PARAM, IMMEDIATE_FLUSH_PARAM, MAX_BACKUP_INDEX, MAX_SIZE_PARAM, NULL, RELATIVE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate FiltercreateFilter(String text, boolean acceptOnMatch) parse(PropertiesConfiguration config) Parses a PropertiesConfigurationt.parse(Element filterElement, XmlConfiguration config) Parses a DOM Element.Methods inherited from class org.apache.log4j.builders.AbstractBuilder
buildFilters, getBooleanProperty, getBooleanProperty, getBooleanValueAttribute, getIntegerProperty, getNameAttribute, getNameAttributeKey, getProperties, getProperty, getProperty, getValueAttribute, getValueAttribute, set, set, set, substVars
-
Field Details
-
LOGGER
-
STRING_TO_MATCH
- See Also:
-
ACCEPT_ON_MATCH
- See Also:
-
-
Constructor Details
-
StringMatchFilterBuilder
public StringMatchFilterBuilder()
-
-
Method Details