com.darwinsys.installers
Class InstallerUnpacker

java.lang.Object
  extended by com.darwinsys.installers.InstallerUnpacker
All Implemented Interfaces:
java.lang.Runnable

public class InstallerUnpacker
extends java.lang.Object
implements java.lang.Runnable

The intention is that you put this as Main-class: in a Jar along with everything else - your installer and its data classes and it unpacks the Jar into a temp directory then starts the "real" installer. This class thus corresponds to the "Setup is preparing the installer" screen.


Field Summary
protected  java.util.SortedSet<java.lang.String> dirsMade
          Cache of paths we've mkdir()ed.
static java.lang.String REQUIRED_NAME
          As the name implies, the installer MUST be stored under this name
 
Method Summary
static void main(java.lang.String[] args)
          Start things running...
 void run()
          Do the work of unpacking the installer, and launching it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUIRED_NAME

public static final java.lang.String REQUIRED_NAME
As the name implies, the installer MUST be stored under this name

See Also:
Constant Field Values

dirsMade

protected java.util.SortedSet<java.lang.String> dirsMade
Cache of paths we've mkdir()ed.

Method Detail

main

public static void main(java.lang.String[] args)
Start things running...

Throws:
java.lang.reflect.InvocationTargetException

run

public void run()
Do the work of unpacking the installer, and launching it.

Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()


Copyright © 1996-2004 Ian F. Darwin. See license.html for usage license.