No Path equivalent to File.mkdirs() ?

Talden talden at gmail.com
Tue Apr 28 17:23:18 PDT 2009


> If added, then the most appropriate place is as a static method in the Files
> class, something like Files#createFileTree.

Given how many projects will be using File.mkdirs() and accepting the
possibility of partial success, this really is needed.  A separate
IOException subtype to detail partial success should probably be
included (and should nest the cause of failure).

I would hate to see every project creating their own solution to this.

--
Talden



More information about the nio-dev mailing list