de.hpi.fgis.voidgen.hadoop.config
Class XmlConfigToArgs

java.lang.Object
  extended by de.hpi.fgis.voidgen.hadoop.config.XmlConfigToArgs

public class XmlConfigToArgs
extends java.lang.Object

Provides the functionality for converting an XML configuration file containing Hadoop and Job properties to generic command line options parsed by the generic options parser.

Author:
Johannes Gosda, Hasso Plattner Institute at University of Potsdam, Germany

Constructor Summary
XmlConfigToArgs()
           
 
Method Summary
static void main(java.lang.String[] args)
          Parses the given XML document and prints the properties to the standard output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlConfigToArgs

public XmlConfigToArgs()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws javax.xml.parsers.ParserConfigurationException,
                        org.xml.sax.SAXException,
                        java.io.IOException
Parses the given XML document and prints the properties to the standard output. The properties are printed so, that the output can be directly used as the arguments for running a Job implementing the Tool interface.

Parameters:
args - <XML configuration file>
Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException