com.darwinsys.installers
Class InstallerUtils

java.lang.Object
  extended by com.darwinsys.installers.InstallerUtils

public class InstallerUtils
extends java.lang.Object

Misc. utilities for Installer-type applications.


Constructor Summary
InstallerUtils()
           
 
Method Summary
static boolean acceptLicense(javax.swing.JFrame parent, java.lang.String licensePath)
          Display a License file and ask the user to Accept it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallerUtils

public InstallerUtils()
Method Detail

acceptLicense

public static boolean acceptLicense(javax.swing.JFrame parent,
                                    java.lang.String licensePath)
                             throws java.io.IOException
Display a License file and ask the user to Accept it

Parameters:
parent -
licensePath - A valid path to the License file to be displayed.
Returns:
True if the user accepts the license, false if not.
Throws:
java.io.IOException - If anything goes wrong.


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