examples
Class Main

java.lang.Object
  extended by examples.Main

public class Main
extends Object


Constructor Summary
Main()
           
 
Method Summary
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 Exception
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:
Exception
Exception


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.