Package 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
  Description
  `Main()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### Main

    public Main()

- ## Method Details

  - ### 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