DLESE Tools
v1.2

org.dlese.dpc.util
Class FileCopy

java.lang.Object
  extended byorg.dlese.dpc.util.FileCopy

public class FileCopy
extends Object


Constructor Summary
FileCopy()
           
 
Method Summary
static boolean copyFile(File infile, File outfile)
           
static String getIDFromFilename(File file)
           
static String getIDFromFilename(String filename)
           
static boolean moveFile(File infile, File outfile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCopy

public FileCopy()
Method Detail

getIDFromFilename

public static String getIDFromFilename(String filename)

getIDFromFilename

public static String getIDFromFilename(File file)

copyFile

public static boolean copyFile(File infile,
                               File outfile)
                        throws Exception
Throws:
Exception

moveFile

public static boolean moveFile(File infile,
                               File outfile)
                        throws Exception
Throws:
Exception

DLESE Tools
v1.2