|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.kernel.commands.filters.CommandFilterFactory
Factory/registry for CommandFilter objects. Provides a parse() method for parsing a filter, such as "wc -l" or "egrep [^|]", into a CommandFilter implementation object. Also provides a mechanism (eventually) for registering your own CommandFilter implementations that other Wizards can use.
Method Summary | |
static void |
main(java.lang.String[] args)
Test suite. |
static CommandFilter |
parse(java.lang.String command)
Parses a filter command such as "sort -r" or "grep (telnet)" into a CommandFilter that can implement the passed filter command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static CommandFilter parse(java.lang.String command) throws java.lang.ClassNotFoundException
command
- the filter command to parse
java.lang.ClassNotFoundException
- if no implementation could be
instantiated for the command.
java.lang.IllegalArgumentException
- if the arguments to the
filter command were invalid.public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |