| java.lang.Object org.netbeans.modules.visualweb.extension.openide.io.RaveFileCopy
RaveFileCopy | public class RaveFileCopy (Code) | | Class FileCopy is an utility class to be used
whereever files need to be copied. There are a lot of different
places where this happens and each place did it differently.
Currently we have a problem with
java.nio.channels.FileChannel.transferTo in the j2se
1.4.2 and the Linux kernel > 2.4.*. So creating the central class
to do the copies seems like a good way to go.
author: Marco Walther version: 1.0 |
Method Summary | |
public static boolean | fileCopy(File src, File dest) Method fileCopy is the only usable method of this
class.
Parameters: src - a File value Parameters: dest - a File value a boolean value. |
fileCopy | public static boolean fileCopy(File src, File dest) throws IOException(Code) | | Method fileCopy is the only usable method of this
class.
Parameters: src - a File value Parameters: dest - a File value a boolean value. This is true if the copy was successful or false if there wasno copy. exception: IOException - if an error occurs |
|
|