Files.copyRecursive?

Philippe Marschall philippe.marschall at gmail.com
Wed Jun 26 13:12:59 PDT 2013


Hi

Something that bothers me with java.nio.file.Files is that there is no
way to recursively copy folders (e.g. copy a folder into the zip file
system). This is especially inconvenient as implementing this on your
own is quite a bit of work, especially if the source and target are
not on the same file system. Since Java 8 seems to be release of
convenience methods I was wondering whether it would make sense to add
such a method. Attached you'll find a version that I use myself that
I'm sure still has several issues.

Cheers
Philippe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Directories.java
Type: application/octet-stream
Size: 9767 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20130626/9a41bf20/Directories.java 


More information about the nio-dev mailing list