| com.zerog.ia.customcode.util.fileutils.DeleteDirectory
DeleteDirectory | public class DeleteDirectory extends CustomCodeAction (Code) | | DeleteDirectory deletes the specified directory. If the directory is not empty, its contents are deleted recursively
before it is removed.
See Also: com.acme.dialogs.CustomCodeAction version: 3.0.0 |
Method Summary | |
public static void | deleteDirectory(String directoryToDelete) Delete the specified directory represented by directoryToDelete. | public static boolean | deleteDirectory(File directoryToDelete) Delete the specified directory represented by directoryToDelete. | public String | getInstallStatusMessage() This method will be called to display a status message during the installation. | public String | getUninstallStatusMessage() This method will be called to display a status message during the uninstall. | public void | install(InstallerProxy ip) This is the method that is called at install-time. | public void | uninstall(UninstallerProxy up) This is the method that is called at uninstall-time. |
deleteDirectory | public static void deleteDirectory(String directoryToDelete) throws IOException(Code) | | Delete the specified directory represented by directoryToDelete. If the directory is not empty, its contents are
deleted recursively before it is removed.
|
deleteDirectory | public static boolean deleteDirectory(File directoryToDelete) throws IOException(Code) | | Delete the specified directory represented by directoryToDelete. If the directory is not empty, its contents are
deleted recursively before it is removed.
|
getInstallStatusMessage | public String getInstallStatusMessage()(Code) | | This method will be called to display a status message during the installation.
See Also: com.zerog.ia.api.pub.CustomCodeAction.getInstallStatusMessage |
getUninstallStatusMessage | public String getUninstallStatusMessage()(Code) | | This method will be called to display a status message during the uninstall.
See Also: com.zerog.ia.api.pub.CustomCodeAction.getUninstallStatusMessage |
install | public void install(InstallerProxy ip) throws InstallException(Code) | | This is the method that is called at install-time. The InstallerProxy instance provides methods to access
information in the installer, set status, and control flow.
For the purposes of the this action (DeleteDirectory), this method
- gets its parameters from InstallAnywhere Variables,
- checks the parameters' validity,
- and recursively deletes the directories.
See Also: com.zerog.ia.api.pub.CustomCodeAction.install |
uninstall | public void uninstall(UninstallerProxy up) throws InstallException(Code) | | This is the method that is called at uninstall-time. For an example of how to effect the uninstallation of
something like this, please see com.acme.fileutils.CopyFile.
See Also: com.acme.fileutils.CopyFile See Also: com.zerog.ia.api.pub.CustomCodeAction.uninstall |
|
|