| java.lang.Object dwarfvsmodel.Config
Config | public class Config (Code) | | Parses command line;
stores options
author: Vladimir Kvashin |
Inner Class :public static class WrongArgumentException extends Exception | |
Inner Class :abstract public static class Option | |
Inner Class :public static class BooleanOption extends Option | |
Inner Class :public static class StringOption extends Option | |
Inner Class :public static class StringListOption extends Option | |
addBooleanOption | public BooleanOption addBooleanOption(String key, String description, boolean defaultValue, String... switches)(Code) | | |
addStringListOption | public StringListOption addStringListOption(String key, String description, String... switches)(Code) | | |
getOptions | public List<Option> getOptions()(Code) | | Gets a list of options in order they were added
|
parse | public void parse(String[] args) throws WrongArgumentException(Code) | | |
readProperties | public void readProperties(Properties props) throws WrongArgumentException(Code) | | |
|
|