multivalent.devel
Class Install
java.lang.Object
multivalent.devel.Install
- public class Install
- extends java.lang.Object
UNDER DEVELOPMENT.
Extensions to the Multivalent Browser should be packaged as JARs
and executed to install by running subclasses of this class.
Extension JARs should be downloaded into the same directory as Multivalent.jar.
Then users can install and uninstall it by executing the JAR (java -jar XXX.jar install),
which should run a subclass of this class to install hooks in hubs and Preferences,
copy fonts, or whatever else is needed.
So as to preserve the integrity of the system, installers and uninstallers should
use the utility methods for the following functions:
- add / remove / change / create (user) hubs
- add / remove / change categories of Preferences: remap, set var, media adaptor
MANIFEST jar cmf manifest XXX.jar classes
Class-Path: Multivalent.jar
Main-Class: name of subclass
If you write a media adaptor, typically you'll register it in Preferences.
But its corresponding genre hub, if any, will likely be kept in the JAR.
Only if you need to modify shared hubs will you write out a hub.
idempotent: repeat without harm - so store change actually done in some file
LATER: system will track JARs and provide GUI to enabling and disenabling
- Version:
- $Revision: 1.1 $ $Date: 2002/02/12 12:38:52 $
Field Summary |
static java.lang.String |
USAGE
|
Method Summary |
static void |
error(java.lang.String reason)
|
static void |
main(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USAGE
public static java.lang.String USAGE
Install
public Install()
error
public static void error(java.lang.String reason)
main
public static void main(java.lang.String[] argv)