RFR: 8298318: (fs) APIs for handling filename extensions
Brian Burkhalter
bpb at openjdk.org
Tue Oct 17 20:07:45 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`.
The UNIX-specific implementation is intentionally omitted for now.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16226#issuecomment-1767087988
More information about the nio-dev
mailing list