org.kite9.tool
Class Tool

java.lang.Object
  extended by org.kite9.tool.Tool

public class Tool
extends Object


Constructor Summary
Tool()
           
 
Method Summary
 org.springframework.context.support.GenericXmlApplicationContext createSpringContext(Properties props, ClassLoader classLoader)
           
protected  Properties getPreferences()
           
 void go(Properties props)
           
 void go(String[] args)
           
protected  void parseArguments(String[] args, Properties defaults)
          Processes the command line arguments and overrides the properties with them
protected  String parsePropertiesName(String[] args)
          Processes the command line arguments and overrides the properties with them
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tool

public Tool()
Method Detail

go

public void go(String[] args)
        throws Exception
Throws:
Exception

go

public void go(Properties props)

createSpringContext

public org.springframework.context.support.GenericXmlApplicationContext createSpringContext(Properties props,
                                                                                            ClassLoader classLoader)

parseArguments

protected void parseArguments(String[] args,
                              Properties defaults)
Processes the command line arguments and overrides the properties with them


parsePropertiesName

protected String parsePropertiesName(String[] args)
Processes the command line arguments and overrides the properties with them


getPreferences

protected Properties getPreferences()
                             throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.