|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.util.args.ArgumentParser
org.opends.server.tools.JavaPropertiesToolArgumentParser
public class JavaPropertiesToolArgumentParser
Class used to parse the arguments of the java properties tool command-line.
Field Summary |
---|
Fields inherited from class org.opends.server.util.args.ArgumentParser |
---|
argumentGroups, defaultArgGroup, generalArgGroup, ioArgGroup, ldapArgGroup |
Constructor Summary | |
---|---|
JavaPropertiesToolArgumentParser(java.lang.String mainClassName)
The default constructor for this class. |
Method Summary | |
---|---|
void |
initializeArguments()
Initializes the arguments without parsing them. |
void |
parseArguments(java.lang.String[] args)
Parses the provided set of arguments and updates the information associated with this parser accordingly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaPropertiesToolArgumentParser(java.lang.String mainClassName)
mainClassName
- the class name of the main class for the command-line
that is being used.Method Detail |
---|
public void initializeArguments() throws ArgumentException
ArgumentException
- if there was an error creating or adding the
arguments. If this occurs is likely to be a bug.public void parseArguments(java.lang.String[] args) throws ArgumentException
parseArguments
in class ArgumentParser
args
- The raw set of arguments to parse.
ArgumentException
- If a problem was encountered while parsing the
provided arguments.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |