Path.newOutputStream((Set<? extends OpenOption> options, FileAttribute<?>... attrs) ?

Vince Bonfanti vbonfanti at gmail.com
Tue Nov 17 08:49:36 PST 2009


Because Path.newOutputStream can create a new file, shouldn't there be an
overload that accepts FileAttribute<?> arguments?

I'm writing code that needs to set filesystem-specific attributes whenever a
new file is created, but can't do this when creating a file with
Path.newOutputStream.

Vince
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-discuss/attachments/20091117/2432ef50/attachment.html 


More information about the nio-discuss mailing list