public abstract class FileHelper extends Object
| Constructor and Description |
|---|
FileHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyFile(File src,
File dst) |
static boolean |
deleteFile(File file) |
static String |
getPasswordFromFile(String passwordFile)
Given a user name and the name of a password file,
this method returns the password in the file.
|
public static void copyFile(File src, File dst) throws IOException
IOExceptionpublic static boolean deleteFile(File file)
public static String getPasswordFromFile(String passwordFile)
passwordFile - Name of the file containing the
password of user pstrUserCopyright © 2018–2019 Butor Inc.. All rights reserved.