public class OptionsParser extends Object
| Constructor and Description |
|---|
OptionsParser() |
| Modifier and Type | Method and Description |
|---|---|
static DistCpOptions |
parse(String[] args)
The parse method parses the command-line options, and creates
a corresponding Options object.
|
static void |
usage() |
public static DistCpOptions parse(String[] args) throws IllegalArgumentException
args - Command-line arguments (excluding the options consumed
by the GenericOptionsParser).IllegalArgumentException - Thrown if the parse fails.public static void usage()
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.