|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.logging.hpel.reader.filters.LevelFilter
public class LevelFilter
Implementation of the LogRecordHeaderFilter
interface for filtering out
records not falling into a specified Level range.
Constructor Summary | |
---|---|
LevelFilter(int minLevel,
int maxLevel)
Creates a filter instance using integer values as the level range. |
|
LevelFilter(java.util.logging.Level minLevel,
java.util.logging.Level maxLevel)
Creates a filter instance with a specified Level range. |
Method Summary | |
---|---|
boolean |
accept(RepositoryLogRecordHeader record)
Checks if record should be accepted into the list. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LevelFilter(int minLevel, int maxLevel)
minLevel
- lower boundary of the level range.maxLevel
- upper boundary of the level range.Level
public LevelFilter(java.util.logging.Level minLevel, java.util.logging.Level maxLevel)
minLevel
- lower boundary of the level range. Value null
means that lower boundary won't be checked.maxLevel
- upper boundary of the level range. Value null
means that upper boundary won't be checked.Method Detail |
---|
public boolean accept(RepositoryLogRecordHeader record)
LogRecordHeaderFilter
accept
in interface LogRecordHeaderFilter
record
- log record header to check
true
if record should be included in the list;
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |