com.jeantessier.commandline
Interface CommandLineSwitch
- All Superinterfaces:
- Visitable
- All Known Implementing Classes:
- CommandLineSwitchBase
- public interface CommandLineSwitch
- extends Visitable
How the CommandLine
parses and validates the switches
on the command-line.
Methods inherited from interface com.jeantessier.commandline.Visitable |
accept |
getDefaultValue
public java.lang.Object getDefaultValue()
getValue
public java.lang.Object getValue()
setValue
public void setValue(java.lang.Object value)
isPresent
public boolean isPresent()
isMandatory
public boolean isMandatory()
parse
public int parse(java.lang.String name,
java.lang.String value)
throws CommandLineException
Dependency Finder 1.1.0 © 2001-2004 Jean Tessier.