org.jppf.doc
Class ParametersHandler

java.lang.Object
  extended by org.jppf.doc.ParametersHandler

public class ParametersHandler
extends Object

Instances of this class handle the command-line options used by the template-based doc generator.

Author:
Laurent Cohen

Constructor Summary
ParametersHandler()
           
 
Method Summary
 Map<ParameterNames,Object> parseArguments(String... args)
          Convert the command line arguments into a parameters map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParametersHandler

public ParametersHandler()
Method Detail

parseArguments

public Map<ParameterNames,Object> parseArguments(String... args)
                                          throws Exception
Convert the command line arguments into a parameters map.

Parameters:
args - the arguments to convert.
Returns:
a mmaping of parameter names to object values.
Throws:
Exception - if an error occurs while parsing the arguments.


Copyright © 2005-2010 JPPF Team.