|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.util.logging.LevelFilter
public class LevelFilter
filters LogEntry objects by their level using the natural order of Level objects
Level| Field Summary | |
|---|---|
static Filter<LogEntry> |
MORE_THAN_FINE_LEVEL_FILTER
accepts LogEntry objects that compare to more than the FINE level. |
static Filter<LogEntry> |
NO_FINE_LEVEL_FILTER
accepts LogEntry objects that exclude the levels FINE, FINER, FINEST. |
| Constructor Summary | |
|---|---|
LevelFilter(Level minLevel)
Creates a new LevelFilter object. |
|
| Method Summary | |
|---|---|
boolean |
accept(LogEntry entry)
returns true only if the Level of the entry is equal or comes after the configured Level of this filter. |
Level |
getMinLevel()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Filter<LogEntry> NO_FINE_LEVEL_FILTER
public static final Filter<LogEntry> MORE_THAN_FINE_LEVEL_FILTER
| Constructor Detail |
|---|
public LevelFilter(Level minLevel)
minLevel - DOCUMENT ME!| Method Detail |
|---|
public Level getMinLevel()
public boolean accept(LogEntry entry)
accept in interface Filter<LogEntry>entry - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||