Class Overview
Utilities that patch/extend Atlassian Core FileUtils
TODO migrate these out of confluence, into a common module
Summary
Public Methods |
static
void
|
moveDir(File srcDir, File destDir)
move a directory with all it's children into another directory
if destination directory already exists, it will be deleted.
|
[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
ConfluenceFileUtils
()
Public Methods
public
static
void
moveDir
(File srcDir, File destDir)
move a directory with all it's children into another directory
if destination directory already exists, it will be deleted.
Retries a move once, after a short delay, if the move cannot complete for some reason.
e.g. rename c:/foo/bar to c:/fooz/bar