Package eu.dnetlib.dhp.utils
Class ArgumentApplicationParser
java.lang.Object
eu.dnetlib.dhp.utils.ArgumentApplicationParser
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.cli.OptionsgetOptionValue(String key) booleanstatic ArgumentApplicationParserparseArgument(String[] args)
-
Constructor Details
-
ArgumentApplicationParser
- Throws:
IOException
-
-
Method Details
-
parse
public static ArgumentApplicationParser parse(String jsonSpec, String[] args) throws IOException, org.apache.commons.cli.ParseException - Throws:
IOExceptionorg.apache.commons.cli.ParseException
-
parseArgument
public ArgumentApplicationParser parseArgument(String[] args) throws org.apache.commons.cli.ParseException - Throws:
org.apache.commons.cli.ParseException
-
hasOption
-
getOptions
public org.apache.commons.cli.Options getOptions() -
getOptionValue
-
getObjectMap
-