net.sourceforge.jpotpourri.gui.log4jlog
Class TableFilter

java.lang.Object
  extended by net.sourceforge.jpotpourri.gui.log4jlog.TableFilter
All Implemented Interfaces:
IUnaryPredicate<Log4jEvent>

public class TableFilter
extends java.lang.Object
implements IUnaryPredicate<Log4jEvent>

Author:
christoph_pickl@users.sourceforge.net

Field Summary
static TableFilter FILTER_NONE
           
 
Constructor Summary
TableFilter(org.apache.log4j.Level level, java.lang.String searchString)
           
 
Method Summary
 boolean execute(Log4jEvent event)
           
 boolean isFilterAll()
           
 boolean isFilterOff()
           
static TableFilter newBySearchString(TableFilter thatFilter, java.lang.String searchString)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FILTER_NONE

public static final TableFilter FILTER_NONE
Constructor Detail

TableFilter

public TableFilter(org.apache.log4j.Level level,
                   java.lang.String searchString)
Parameters:
level - log4j loglevel
searchString - can be null
Method Detail

newBySearchString

public static TableFilter newBySearchString(TableFilter thatFilter,
                                            java.lang.String searchString)

isFilterOff

public final boolean isFilterOff()

isFilterAll

public final boolean isFilterAll()

execute

public final boolean execute(Log4jEvent event)
Specified by:
execute in interface IUnaryPredicate<Log4jEvent>

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008. All Rights Reserved.