public class

ConfluenceFileUtils

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.util.io.ConfluenceFileUtils

Class Overview

Utilities that patch/extend Atlassian Core FileUtils TODO migrate these out of confluence, into a common module

Summary

Public Constructors
ConfluenceFileUtils()
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

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

Throws
IOException