create Directory
Creates a directory at the path identified by dir.
Parameters
must Create
true to throw an IOException if the directory already exists.
Throws
if dir's parent does not exist, is not a directory, or cannot be written. A directory cannot be created if the current process doesn't have access, if there's a loop of symbolic links, or if any name is too long.