jwrapper.jwutils
Class JWUninstallApp

java.lang.Object
  extended by jwrapper.jwutils.JWUninstallApp

public class JWUninstallApp
extends java.lang.Object

Can be used by JWrapperPreUninstallApp virtual apps


Constructor Summary
JWUninstallApp()
           
 
Method Summary
static void doUninstallOfEntireBundle(boolean showProgress)
          Uninstall the entire app bundle without prompting the user
static void exitJvm_AskUserIfUninstall()
          Tell the JWrapper uninstaller to continue and ask the user if they wish to uninstall
static void exitJvm_CancelUninstall()
          Tell the JWrapper uninstaller to cancel the uninstall
static void exitJvm_DoUninstall()
          Tell the JWrapper uninstaller to continue with the uninstall
static void removeAllStandardShortcuts(boolean removeMacOsApplicationLauncher)
          Remove all the usual standard shortcuts / launchers created by JWrapper during a standard post-install setup or by JWInstallApp.setupAllStandardShortcuts()
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JWUninstallApp

public JWUninstallApp()
Method Detail

doUninstallOfEntireBundle

public static void doUninstallOfEntireBundle(boolean showProgress)
                                      throws java.io.IOException
Uninstall the entire app bundle without prompting the user

Parameters:
showProgress - whether to show visible progress of the uninstall to the user
Throws:
java.io.IOException

exitJvm_AskUserIfUninstall

public static void exitJvm_AskUserIfUninstall()
Tell the JWrapper uninstaller to continue and ask the user if they wish to uninstall


exitJvm_CancelUninstall

public static void exitJvm_CancelUninstall()
Tell the JWrapper uninstaller to cancel the uninstall


exitJvm_DoUninstall

public static void exitJvm_DoUninstall()
Tell the JWrapper uninstaller to continue with the uninstall


removeAllStandardShortcuts

public static void removeAllStandardShortcuts(boolean removeMacOsApplicationLauncher)
                                       throws java.io.IOException
Remove all the usual standard shortcuts / launchers created by JWrapper during a standard post-install setup or by JWInstallApp.setupAllStandardShortcuts()

Parameters:
removeMacOsApplicationLauncher - Whether to also remove any OSX .app launcher created for visible virtual apps
Throws:
java.io.IOException