Package examples

Class Main


  • public class Main
    extends java.lang.Object
    Helper application for example classes.
    • Constructor Summary

      Constructors 
      Constructor Description
      Main()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.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​(java.lang.String[] args)
                         throws java.lang.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:
        java.lang.Throwable - if an error occurs