Questions on the NIO.2 API

Alan Bateman Alan.Bateman at
Mon Jan 31 08:55:12 PST 2011

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).


More information about the nio-dev mailing list