org.mozilla.jrex
Class JRexGreInstaller

java.lang.Object
  extended byorg.mozilla.jrex.JRexGreInstaller

public class JRexGreInstaller
extends Object

A Class to install Mozilla GRE for JRex when JRex is deployed via webstart.

Version:
1.0
Author:
C.N.Medappa

Constructor Summary
JRexGreInstaller()
           
 
Method Summary
static boolean installGRE(String greArchive, String installPath, Object exService, Method update, Method status)
          This function Install's the GRE for JRex, supposed to be used when JRex is deployed using webstart.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRexGreInstaller

public JRexGreInstaller()
Method Detail

installGRE

public static boolean installGRE(String greArchive,
                                 String installPath,
                                 Object exService,
                                 Method update,
                                 Method status)
This function Install's the GRE for JRex, supposed to be used when JRex is deployed using webstart. It basically searches for greArchive in classpath, if found it is unzipped to installPath.

Parameters:
greArchive - The name of the GRE archive.
installPath - The path where GRE should be installed, if null defaults to user's home directory.
Returns:
true if GRE installation was successfull.

main

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


Copyright © 2004 C.N.Medappa. All Rights Reserved.