## Uses of Class
org.apache.log4j.spi.Filter

Packages that use Filter
org.apache.log4j: The main log4j package.
org.apache.log4j.spi: Contains part of the System Programming Interface (SPI) needed to extend log4j.
org.apache.log4j.varia: Contains various appenders, filters and other odds and ends.

Uses of Filter in org.apache.log4j

Fields in org.apache.log4j declared as Filter
`protected Filter` `AppenderSkeleton.headFilter` The first filter in the filter chain.
`protected Filter` `AppenderSkeleton.tailFilter` The last filter in the filter chain.

Methods in org.apache.log4j that return Filter
`Filter` `Appender.getFilter()` Returns the head Filter.
`Filter` `AppenderSkeleton.getFilter()` Returns the head Filter.
`Filter` `AppenderSkeleton.getFirstFilter()` Return the first filter in the filter chain for this Appender.

Methods in org.apache.log4j with parameters of type Filter
`void` `Appender.addFilter(Filter newFilter)` Add a filter to the end of the filter list.
`void` `AppenderSkeleton.addFilter(Filter newFilter)` Add a filter to end of the filter list.

Uses of Filter in org.apache.log4j.spi

Fields in org.apache.log4j.spi declared as Filter
`Filter` `Filter.next` Deprecated. As of 1.2.12, use `getNext()` and `setNext(org.apache.log4j.spi.Filter)` instead

Methods in org.apache.log4j.spi that return Filter
`Filter` `Filter.getNext()` Return the pointer to the next filter;

Methods in org.apache.log4j.spi with parameters of type Filter
`void` `Filter.setNext(Filter next)` Set the next filter pointer.

Uses of Filter in org.apache.log4j.varia

Subclasses of Filter in org.apache.log4j.varia
`class` `DenyAllFilter` This filter drops all logging events.
`class` `LevelMatchFilter` This is a very simple filter based on level matching.
`class` `LevelRangeFilter` This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.
`class` `StringMatchFilter` This is a very simple filter based on string matching.

Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.