|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ericdaugherty.mail.server.utils.FileUtils
public class FileUtils
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.
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 |
---|
public FileUtils()
Method Detail |
---|
public static void copyFile(java.io.File in, java.io.File out) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |