| com.zerog.ia.customcode.util.fileutils.Rename
Rename | public class Rename extends CustomCodeAction (Code) | | Rename renames a file or directory.
See Also: com.acme.dialogs.CustomCodeAction version: 3.0.0 |
Method Summary | |
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 static void | rename(String target, String newName) | public static void | rename(File target, String newName) Rename the file represented by source to the file
represented by destination. | public void | uninstall(UninstallerProxy up) This is the method that is called at uninstall-time. |
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 (Rename), this method
- gets its parameters from InstallAnywhere Variables,
- checks the parameters' validity,
- and renames the file.
See Also: com.zerog.ia.api.pub.CustomCodeAction.install |
rename | public static void rename(File target, String newName) throws IOException(Code) | | Rename the file represented by source to the file
represented by destination.
|
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 |
|
|