gov.llnl.babel.cli
public interface CommandLineExtension
registerCommandLineSwitches(gov.llnl.babel.cli.CommandLineDictionary)
with the current dictionary.Modifier and Type | Method and Description |
---|---|
void |
registerCommandLineSwitches(CommandLineDictionary dict)
This method should register all command line switches in the
dictionary.
|
void registerCommandLineSwitches(CommandLineDictionary dict) throws NameCollisionException
dict
- the command line switch dictionary in which you register
your command line extensions.NameCollisionException
- If your extension doesn't know what to do with the exception
thrown by calls to CommandLineDictionary.addCommandLineSwitch(gov.llnl.babel.cli.CommandLineSwitch)
,
you can let Babel handle it.