|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.logAnalyzer.gui.messages.filters.CompareFilter
This class implements a filter used to compare the value of messageLabel converter to specified value.
Field Summary | |
protected static int |
CONVERTER_NOT_FOUND
Column not found value of getConverterIndex(LAMessage) . |
Constructor Summary | |
CompareFilter(LAConverter converter,
java.lang.Comparable value)
Constructs a new filter. |
Method Summary | |
LAConverter |
getConverter()
Returns the converter to compare. |
protected int |
getConverterIndex(LAMessage message)
Returns the converter index to compare. |
java.lang.Comparable |
getValue()
Returns the value. |
abstract java.lang.String |
toString()
Returns a string representation of the filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.logAnalyzer.gui.messages.filters.LAMessagesFilter |
accept |
Field Detail |
protected static final int CONVERTER_NOT_FOUND
getConverterIndex(LAMessage)
.
Constructor Detail |
public CompareFilter(LAConverter converter, java.lang.Comparable value)
converter
- Converter to compare.value
- Value used to accept or not the messageLabel (depending of
LAMessagesFilter.accept(LAMessage)
implementation).Method Detail |
public final LAConverter getConverter()
public final java.lang.Comparable getValue()
protected final int getConverterIndex(LAMessage message)
message
- Message to compare.
CONVERTER_NOT_FOUND
if not
found.public abstract java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |