com.infoengine.convert
Class backupTemplate2x

java.lang.Object
  extended bycom.infoengine.convert.backupTemplate2x

public class backupTemplate2x
extends Object


Field Summary
(package private)  File newFile
           
(package private)  File oldFile
           
 
Constructor Summary
backupTemplate2x(String path)
           
 
Method Summary
private  void backup(String parentPath)
          Creates the backup directory named '__CONVBkpTmp2x' Copies the oldfile to the newly created directory.
static void main(String[] args)
           
private  void moveFile(File file, File newfile, boolean delete)
          Moves the file to the new file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

oldFile

File oldFile

newFile

File newFile
Constructor Detail

backupTemplate2x

public backupTemplate2x(String path)
Method Detail

backup

private void backup(String parentPath)
Creates the backup directory named '__CONVBkpTmp2x' Copies the oldfile to the newly created directory.


moveFile

private void moveFile(File file,
                      File newfile,
                      boolean delete)
Moves the file to the new file.


main

public static void main(String[] args)