RFR: 8298318: (fs) APIs for handling filename extensions

Brian Burkhalter bpb at openjdk.org
Tue Oct 17 21:03:27 UTC 2023


On Tue, 17 Oct 2023 19:52:14 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Add to `java.nio.file.Path` a method `getExtension` to retrieve the `Path`'s extension, and companion methods `removeExtension` and `addExtension`.

A CSR will be created once there is reasonable consensus on the verbiage in this conversation.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16226#issuecomment-1767164134


More information about the nio-dev mailing list