Class Overview
Utility methods for working with the file system.
Summary
| Public Methods |
|
static
void
|
copyRecursively(File src, File dest)
Recursively copy the contents of the src file/directory
to the dest file/directory.
|
|
static
boolean
|
deleteRecursively(File root)
Delete the supplied File - for directories,
recursively delete any nested directories or files as well.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
FileSystemUtils
()
Public Methods
public
static
void
copyRecursively
(File src, File dest)
Recursively copy the contents of the src file/directory
to the dest file/directory.
Parameters
| src
| the source directory |
| dest
| the destination directory |
public
static
boolean
deleteRecursively
(File root)
Delete the supplied File - for directories,
recursively delete any nested directories or files as well.
Parameters
| root
| the root File to delete |
Returns
true if the File was deleted,
otherwise false