|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICommandLine
| Method Summary | |
|---|---|
String |
getOptionValue(char cOption)
Returns the value of the specified option |
String |
getOptionValue(char cOption,
String sDefaultValue)
Returns the value of the specified option If the option is not present, returns the default value |
String |
getOptionValue(String sOptionName)
Returns the value of the specified option |
String |
getOptionValue(String sOptionName,
String sDefaultValue)
Returns the value of the specified option. |
boolean |
hasOption(char cOption)
Returns true if the option is present |
boolean |
hasOption(String sOptionName)
Returns true if the option is present |
| Method Detail |
|---|
String getOptionValue(String sOptionName)
sOptionName - The option name
String getOptionValue(String sOptionName,
String sDefaultValue)
sOptionName - The option namesDefaultValue - The default value
String getOptionValue(char cOption)
cOption - The option short name
String getOptionValue(char cOption,
String sDefaultValue)
cOption - The option short namesDefaultValue - The default value
boolean hasOption(String sOptionName)
true if the option is present
sOptionName - The option name
boolean hasOption(char cOption)
true if the option is present
cOption - The option short name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||