public class JavaPropertiesToolArgumentParser extends com.forgerock.opendj.cli.ArgumentParser
Constructor and Description |
---|
JavaPropertiesToolArgumentParser(String mainClassName)
The default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
void |
initializeArguments()
Initializes the arguments without parsing them.
|
void |
parseArguments(String[] args)
Parses the provided set of arguments and updates the information
associated with this parser accordingly.
|
addArgument, addArgument, addDefaultArgument, addLdapConnectionArgument, displayMessageAndUsageReference, getArgumentForLongID, getArgumentList, getBindPassword, getDocSubcommandsDescriptionSupplement, getDocToolDescriptionSupplement, getHelpUsageReference, getOptionsRefSect1, getShortToolDescription, getTrailingArguments, getUsage, isUsageArgumentPresent, isVersionArgumentPresent, parseArguments, parseArguments, replaceArgument, setDocSubcommandsDescriptionSupplement, setDocToolDescriptionSupplement, setFilePropertiesArgument, setNoPropertiesFileArgument, setShortToolDescription, setUsageArgument, setUsageArgument, setUsageOrVersionDisplayed, setVersionHandler, usageOrVersionDisplayed
public JavaPropertiesToolArgumentParser(String mainClassName)
mainClassName
- the class name of the main class for the command-line
that is being used.public void initializeArguments() throws com.forgerock.opendj.cli.ArgumentException
com.forgerock.opendj.cli.ArgumentException
- if there was an error creating or adding the
arguments. If this occurs is likely to be a bug.public void parseArguments(String[] args) throws com.forgerock.opendj.cli.ArgumentException
parseArguments
in class com.forgerock.opendj.cli.ArgumentParser
args
- The raw set of arguments to parse.com.forgerock.opendj.cli.ArgumentException
- If a problem was encountered while parsing the provided
arguments.Copyright 2010-2017 ForgeRock AS.