RFR 8057113: (fs) Path should have a method to test the filename extension

Alan Bateman Alan.Bateman at oracle.com
Fri Feb 16 07:21:07 UTC 2018

On 16/02/2018 02:53, Brian Burkhalter wrote:
> One question is whether the extension should instead be specified in 
> terms of the *normalized* path. This is how the  code already behaves.
No, it has to specified on the string representation of the file name. I 
think we should initially confine the definition to the getExtension 
method and not attempt to put it in the class description at this time 
(as it will take several rounds to get the javadoc for this method 
agreed I think).


More information about the nio-dev mailing list