No Path equivalent to File.mkdirs() ?

Alan Bateman Alan.Bateman at Sun.COM
Tue Apr 28 02:33:07 PDT 2009


Rémi Forax wrote:
> Is there an equivalent to File.mkdirs() with NIO.2 ?
>
> I was not able to find it.
>
> cheers,
> Rémi
No, it's not there. All the primitives required to implement it as a 
utility method are there of course (mkdirs, as you probably know, is one 
of those troublesome composite operations that may fail with part of the 
directory tree created).

-Alan.



More information about the nio-dev mailing list