org.apache.commons.net.examples

## Class Main

- java.lang.Object
- - org.apache.commons.net.examples.Main

-     public class Main
      extends Object

  Helper application for example classes.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Main()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(String[] args)` Helper application for example classes.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Main

          public Main()

  - ### Method Detail

    - #### main

          public static void main(String[] args)
                           throws Throwable

      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

Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.