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