Package com.ranull.graves.util
Class FileUtil
java.lang.Object
com.ranull.graves.util.FileUtil
Utility class for file operations.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileUtil
public FileUtil()
-
-
Method Details
-
moveFile
Moves a file to a new location with a new name.- Parameters:
file
- The file to be moved.name
- The new name for the file.
-
copyFile
Deprecated.This method is deprecated and will be removed in a future version. Use
Copies a file to a new location with a new name.moveFile(File, String)
instead.- Parameters:
file
- The file to be copied.name
- The new name for the copied.
-