org.jlab.groot.io
Class ArgumentParser
- java.lang.Object
-
- org.jlab.groot.io.ArgumentParser
-
public class ArgumentParser extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classArgumentParser.ArgumentParserCommandThis class holds all parameters required, optional and flags for given command in the command line;static classArgumentParser.ArgumentParserIteminternal class implementing items to be stored in the parser.
-
Constructor Summary
Constructors Constructor and Description ArgumentParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddCommand(java.lang.String command)ArgumentParser.ArgumentParserCommandgetCommand()ArgumentParser.ArgumentParserCommandgetCommand(java.lang.String command)voidparse(java.lang.String[] args)voidshow()
-
-
-
Method Detail
-
addCommand
public void addCommand(java.lang.String command)
-
getCommand
public ArgumentParser.ArgumentParserCommand getCommand(java.lang.String command)
-
getCommand
public ArgumentParser.ArgumentParserCommand getCommand()
-
parse
public void parse(java.lang.String[] args)
-
show
public void show()
-
-
DMelt 3.0 © DataMelt by jWork.ORG