org.jagatoo.util.io
Class FileUtils

java.lang.Object
  extended by org.jagatoo.util.io.FileUtils

public class FileUtils
extends java.lang.Object

Utility methods for files.

Author:
Marvin Froehlich (aka Qudus)

Method Summary
static void copyFile(java.io.File source, java.io.File dest)
          Copies one file to another one.
static void deleteFolderRecursively(java.io.File folder)
           
static java.io.File getCanonicalFile(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copyFile

public static void copyFile(java.io.File source,
                            java.io.File dest)
                     throws java.io.IOException
Copies one file to another one.

Parameters:
source -
dest -
Throws:
java.io.IOException

deleteFolderRecursively

public static void deleteFolderRecursively(java.io.File folder)

getCanonicalFile

public static final java.io.File getCanonicalFile(java.io.File file)