de.nava.informa.utils
Class FileUtils

java.lang.Object
  extended by de.nava.informa.utils.FileUtils

public final class FileUtils
extends Object

Utility class providing some convenience methods when handling files.


Method Summary
static boolean compare(File fileExpected, File fileActual)
           
static boolean compare(String nameExpected, String nameActual)
           
static void copyFile(File inFile, File outFile)
          Copies a file from inFile to outFile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

compare

public static boolean compare(String nameExpected,
                              String nameActual)
                       throws IOException
Throws:
IOException

compare

public static boolean compare(File fileExpected,
                              File fileActual)
                       throws IOException
Throws:
IOException

copyFile

public static void copyFile(File inFile,
                            File outFile)
Copies a file from inFile to outFile.



Copyright © 2002-2007 Niko Schmuck. All Rights Reserved.