|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.kernel.commands.filters.UniqFilter
Discards duplicate lines from the output. Usage:
Constructor Summary | |
UniqFilter()
|
Method Summary | |
java.util.ArrayList |
filter(java.util.ArrayList lines)
Filters the lines. |
static void |
main(java.lang.String[] args)
Tests the filter. |
void |
parseArguments(java.lang.String verb,
java.lang.String args)
Parses the arguments to "uniq". |
java.lang.String |
toString()
Returns String representation of this filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UniqFilter()
Method Detail |
public void parseArguments(java.lang.String verb, java.lang.String args)
parseArguments
in interface CommandFilter
verb
- the command verb ("uniq").args
- the argument string passed to the command,
not including the command verb. Null if no arguments were
passed to the filter.public java.util.ArrayList filter(java.util.ArrayList lines)
filter
in interface CommandFilter
lines
- the event output, broken into lines.
public java.lang.String toString()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |