How do I create directories in the local file system?

John Zukowski

The File class includes mkdir() and mkdirs() methods that should help you. mkdir() will only make the file as a directory, at the last level. What mkdirs() does is create all parent directories, too, if they do not exist.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.