Renames the source file to the target file. If the target file exists it is first deleted. The rename and delete operation return values are checked for success and if unsuccessful, this method throws an exception.
@param fileToRename The file to rename.
@param target The file to which fileToRename will bemoved.
@throws ApplicationException If a problem occurs while attempting to renamethe file. On the Windows platform, this typically indicates that the file is in use by this or another application.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.