controller
Class FileCopy

java.lang.Object
  extended by controller.FileCopy

public class FileCopy
extends java.lang.Object

Title: Bioinformatics Project

Description: Genomes Comparacent

Copyright: Copyright (c) 2005-2006

FilyCopy is class that copies one file into another, the source should be a file which exist, not a directory, and the user must have read permission to it, the new file should not exist

Version:
1.0
Author:
Shadi Ibrahem.

Constructor Summary
FileCopy()
           
 
Method Summary
static void copy(java.lang.String fromFileName, java.lang.String toFileName)
          Copies file given by the path fromFileName into a new file given by the path toFileName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCopy

public FileCopy()
Method Detail

copy

public static void copy(java.lang.String fromFileName,
                        java.lang.String toFileName)
                 throws java.io.IOException
Copies file given by the path fromFileName into a new file given by the path toFileName. there are several conditions which need to checked.

Parameters:
fromFileName - String:
toFileName - String:
Throws:
java.io.IOException - String: