RFR: 8057113: (fs) Path should have a method to obtain the filename extension [v15]
Brian Burkhalter
bpb at openjdk.org
Thu Jul 28 15:42:41 UTC 2022
On Thu, 28 Jul 2022 14:55:33 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> As a default method, is there anything to say about when/if to implement for a specific file system.
I suppose it could say something like
```If an implementation maintains the Path in an internal representation which is not a String, then it might be best to override the default implementation to work with that representation until the result is obtained and only then convert the result to a String.```
-------------
PR: https://git.openjdk.org/jdk/pull/8066
More information about the nio-dev
mailing list