multivalent.devel

Class Install

public class Install extends 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 StringUSAGE
Method Summary
static voiderror(String reason)
static voidmain(String[] argv)

Field Detail

USAGE

public static String USAGE

Method Detail

error

public static void error(String reason)

main

public static void main(String[] argv)