Package org.apache.commons.net.examples
Class Main
java.lang.Object
org.apache.commons.net.examples.Main
Helper application for example classes.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
main
Helper application for example classes. Lists available classes, and provides shorthand invocation. For example:
java -jar commons-net-examples-m.n.jar FTPClientExample -l host user password
- Parameters:
args
- the first argument is used to name the class; remaining arguments are passed to the target class.- Throws:
Throwable
- if an error occurs
-