java.lang.Object
org.bukkit.util.FileUtil
public class FileUtil
extends java.lang.Object
Class containing file utilities
-
Constructor Summary
Constructors
Constructor |
Description |
FileUtil() |
|
-
Method Summary
Modifier and Type |
Method |
Description |
static boolean |
copy(java.io.File inFile,
java.io.File outFile) |
This method copies one file to another location
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
public static boolean copy(java.io.File inFile,
java.io.File outFile)
This method copies one file to another location
- Parameters:
inFile
- the source filename
outFile
- the target filename
- Returns:
- true on success