org.cafesip.upgrade
Class Upgrader

java.lang.Object
  extended by org.cafesip.upgrade.Upgrader

public class Upgrader
extends java.lang.Object

The entry point class for the upgrader tool. It also contains a main method that is used as a launcher.

Author:
Amit Chatterjee

Constructor Summary
Upgrader(java.lang.String propertiesFile, java.lang.String patchDir)
          A constructor for this class.
 
Method Summary
 java.util.Properties initProperties(java.lang.String propertiesFile)
           
static void main(java.lang.String[] args)
          The command-line launcher for the upgrader tool.
 void upgrade()
          Run the upgrade process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Upgrader

public Upgrader(java.lang.String propertiesFile,
                java.lang.String patchDir)
A constructor for this class.

Parameters:
propertiesFile -
patchDir -
Method Detail

upgrade

public void upgrade()
             throws java.lang.Exception
Run the upgrade process.

Throws:
java.lang.Exception

initProperties

public java.util.Properties initProperties(java.lang.String propertiesFile)
                                    throws java.io.FileNotFoundException,
                                           java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
The command-line launcher for the upgrader tool.

Parameters:
args -
Throws:
java.lang.Exception


Copyright © 2009 CafeSip.org. All Rights Reserved.