DistCp is the main driver-class for DistCpV2. For command-line use, DistCp::main() orchestrates the parsing of command-line parameters and the launch of the DistCp job. For programmatic use, a DistCp object can be constructed by specifying options (in a DistCpOptions object), and DistCp::execute() may be used to launch the copy-job. DistCp may alternatively be sub-classed to fine-tune behaviour.
p.apache.org/common/docs/current/distcp.html">distcp as an embeddable API. Due to the number of options available in DistCp, one can either specify them in a command-like style (through one or multiple {@link String}s) through {@link #copy(String)} or specify individual arguments through the rest of the methods.
@author Costin Leau
@author Thomas Risberg
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.