imx.loggui.filter
Class TextFilter
java.lang.Object
imx.loggui.filter.TextFilter
- All Implemented Interfaces:
- NameInterface, java.io.Serializable, java.util.logging.Filter
public class TextFilter
- extends java.lang.Object
- implements java.io.Serializable, java.util.logging.Filter, NameInterface
TextFilter implements a simple text filter. The yesText must be in
the LogRecord message, the noText must not.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TextFilter
public TextFilter()
getNoText
public java.lang.String getNoText()
getYesText
public java.lang.String getYesText()
setNoText
public void setNoText(java.lang.String string)
setYesText
public void setYesText(java.lang.String string)
isLoggable
public boolean isLoggable(java.util.logging.LogRecord record)
- Specified by:
isLoggable in interface java.util.logging.Filter
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface NameInterface
getName
public java.lang.String getName()
- Specified by:
getName in interface NameInterface
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object