edu.byu.ece.edif.util.jsap.commandgroups
Class ConfigFileCommandGroup
java.lang.Object
edu.byu.ece.edif.util.jsap.commandgroups.AbstractCommandGroup
edu.byu.ece.edif.util.jsap.commandgroups.ConfigFileCommandGroup
- All Implemented Interfaces:
- CommandGroup
public class ConfigFileCommandGroup
- extends AbstractCommandGroup
- Author:
- Derrick Gibelyou
|
Method Summary |
static int |
createConfigFile(com.martiansoftware.jsap.JSAPResult results,
EdifCommandParser parser)
Takes all the user set parameters and writes them to a config file, which
can be used later as a default set of parameters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
write_config
protected com.martiansoftware.jsap.FlaggedOption write_config
use_config
protected com.martiansoftware.jsap.FlaggedOption use_config
_tool
protected static java.lang.String _tool
CONF_FILENAME
public static final java.lang.String CONF_FILENAME
- See Also:
- Constant Field Values
LIST_DELIMITER
public static final char LIST_DELIMITER
- See Also:
- Constant Field Values
USE_CONFIG
public static final java.lang.String USE_CONFIG
- See Also:
- Constant Field Values
WRITE_CONFIG
public static final java.lang.String WRITE_CONFIG
- See Also:
- Constant Field Values
ConfigFileCommandGroup
public ConfigFileCommandGroup(java.lang.String tool)
createConfigFile
public static int createConfigFile(com.martiansoftware.jsap.JSAPResult results,
EdifCommandParser parser)
- Takes all the user set parameters and writes them to a config file, which
can be used later as a default set of parameters.
- Parameters:
filename - name of the file to write the configuration toresults - the JSAPResults from parsing the command line
- Returns:
- 0 on success