public class FileCopy
extends java.lang.Object
Constructor and Description |
---|
FileCopy() |
Modifier and Type | Method and Description |
---|---|
static boolean |
copyFile(java.io.File infile,
java.io.File outfile) |
static java.lang.String |
getIDFromFilename(java.io.File file) |
static java.lang.String |
getIDFromFilename(java.lang.String filename) |
static boolean |
moveFile(java.io.File infile,
java.io.File outfile) |
public static java.lang.String getIDFromFilename(java.lang.String filename)
public static java.lang.String getIDFromFilename(java.io.File file)
public static boolean copyFile(java.io.File infile, java.io.File outfile) throws java.lang.Exception
java.lang.Exception
public static boolean moveFile(java.io.File infile, java.io.File outfile) throws java.lang.Exception
java.lang.Exception