@NotStorableClass public final class HelperFileUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
copyFile(File sourceFile,
File destinationFile) |
void |
delete(File file,
int maxRetry,
int retryMsDelay) |
void |
deleteRenaming(File file,
int maxRetry,
int retryMsDelay) |
boolean |
diffFile(File file1,
File file2) |
static HelperFileUtil |
getInstance() |
void |
touchFile(File file,
int maxRetry,
int retryMsDelay) |
public static HelperFileUtil getInstance()
public void copyFile(File sourceFile, File destinationFile) throws FileIOException
FileIOExceptionpublic void touchFile(File file, int maxRetry, int retryMsDelay) throws FileIOException
FileIOExceptionpublic void delete(File file, int maxRetry, int retryMsDelay) throws FileIOException
FileIOExceptionpublic void deleteRenaming(File file, int maxRetry, int retryMsDelay) throws FileIOException
FileIOExceptionpublic boolean diffFile(File file1, File file2) throws FileIOException
FileIOExceptionCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.