com.ericdaugherty.mail.server.utils
Class FileUtils

java.lang.Object
  extended by com.ericdaugherty.mail.server.utils.FileUtils

public class FileUtils
extends java.lang.Object

This code is based partly on the workaround suggested at: http://forums.sun.com/thread.jspa?threadID=439695&messageID=2917510 Chunking is always used on windows systems without regard to the CPU architecture, the files being used are on a local drive or a mapped network one, declared using UNC or not. Also, it is higly unlikely that a message will be greater that 2GB, so there should be no problems using this facility.

Author:
Andreas Kyrmegalos

Constructor Summary
FileUtils()
           
 
Method Summary
static void copyFile(java.io.File in, java.io.File out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

copyFile

public static void copyFile(java.io.File in,
                            java.io.File out)
                     throws java.io.IOException
Throws:
java.io.IOException