folder

Creates the directory named by this abstract pathname, including any necessary but nonexistent parent directories. Note that if this operation fails it may have succeeded in creating some necessary parent directories.

Return

The current file

Throws

If a security manager exists and its
[java.lang.SecurityManager#checkRead(String)]
method does not permit verification of the existence of the
named directory and all necessary parent directories; or if
the [java.lang.SecurityManager#checkWrite(String)]
method does not permit the named directory and all
necessary parent directories to be created