org.apache.hadoop.examples
Class ExampleDriver

java.lang.Object
  extended by org.apache.hadoop.examples.ExampleDriver

public class ExampleDriver
extends Object


Constructor Summary
ExampleDriver()
           
 
Method Summary
static void main(String[] args)
          This is a driver for the example programs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleDriver

public ExampleDriver()
Method Detail

main

public static void main(String[] args)
                 throws Throwable
This is a driver for the example programs. It looks at the first command line argument and tries to find an example program with that name. If it is found, it calls the main method in that class with the rest of the command line arguments.

Parameters:
args - The argument from the user. args[0] is the command to run.
Throws:
NoSuchMethodException
SecurityException
IllegalAccessException
IllegalArgumentException
Throwable - Anything thrown by the example program's main


Copyright © 2006 The Apache Software Foundation