File.mkdirs

File.mkdirs

Class Overview | Class Members | This Package | All Packages

Syntax
public boolean mkdirs()
Returns
true if the directory (or directories) could be created; false otherwise.
Description
Creates a directory whose pathname is specified by this File object, including any necessary parent directories.

Exceptions
SecurityException if a security manager exists, its checkWrite method is called with the pathname of each of the directories that is to be created, before any of the directories are created.
See Also
getPath, checkWrite