Creates a directory, and optionally its parent directories. If the directory already exists, this method has no effect.
The {@link EFS#SHALLOW} option flag indicates howthis method deals with creation when the parent directory does not exist. If the SHALLOW
flag is present, this method will fail if the parent directory does not exist. When the flag is not present, all necessary parent directories are also created.
@param options bit-wise or of option flag constants ({@link EFS#SHALLOW}).
@param monitor a progress monitor, or
null
if progressreporting and cancellation are not desired
@return This directory
@exception CoreException if this method fails. Reasons include:
- The directory could not be created
- A file already exists with this name that is not a directory
- The {@link EFS#SHALLOW} option flag wasspecified and the parent of this directory does not exist.