Questions on the NIO.2 API
Martijn Verburg
martijnverburg at gmail.com
Mon Jan 31 09:01:56 PST 2011
Hi all,
On Mon, Jan 31, 2011 at 4:55 PM, Alan Bateman <Alan.Bateman at oracle.com>wrote:
> Martijn Verburg wrote:
>
>> :
>> Perhaps a compromise? Have a certain defined set of
>> StandardFileStoreTypes, yet still allow more to be added on the fly? Perhaps
>> something a little like how CopyOptions are dealt with? OK, I'm probably
>> starting to get out of my depth here :)
>>
> I think this is what Rémi is suggesting (and we use this pattern in a few
> places in the API to allow for provider specific extensions). The question
> is whether this is really needed and what would the standard types be (as
> they are many formats in use and growing all the time).
>
My hypothetical examples are probably a bit far-fetched (to put it mildly)?
I'm happy to go back to my corner and be quiet for a bit :)
Cheers,
Martijn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20110131/27101eac/attachment.html
More information about the nio-dev
mailing list