|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.kernel.commands.filters.FilterUtils
Provides utilities for use by CommandFilter implementations.
Method Summary | |
static java.util.ArrayList |
explode(java.lang.String text)
Preprocesses the text to filter by splitting it into an ArrayList of lines. |
static java.lang.String |
implode(java.util.ArrayList lines)
Takes an ArrayList of lines and returns it as a single String, with linefeeds in the string after each line, except for the last. |
static void |
printArrayList(java.util.ArrayList lines)
Prints an ArrayList, one element per line. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.util.ArrayList explode(java.lang.String text)
text
- the event output that's going to be sent
to the event's agent.
public static java.lang.String implode(java.util.ArrayList lines)
public static void printArrayList(java.util.ArrayList lines)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |