File.removeDirectory

Overview | Methods | This Package | All Packages

File.removeDirectory

Removes an existing empty directory.

Syntax

public static void removeDirectory( String path )

Parameters

path

The path of the directory to remove.

Exceptions

WinIOException thrown if an error occurs.

Remarks

The path must specify an empty directory, and the calling process must have delete access to the directory.

See Also   createDirectory