|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.data.util.CommandClient
The executable class that is used by the Main class of each client.
Constructor Summary | |
CommandClient(java.lang.String[] argv,
java.lang.String configResource)
Create a new command client by explicitly specifying the command factory |
Method Summary | |
boolean |
execute(java.lang.String configResource)
Execute the command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandClient(java.lang.String[] argv, java.lang.String configResource) throws CommandLineException, InvalidConfigurationException
argv
- the command lineconfigResource
- the resource used to config the factoryMethod Detail |
public boolean execute(java.lang.String configResource) throws DataException
configResource
- name of the configuration file.
DataException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |