RFR: 8298318: (fs) APIs for handling filename extensions
Brian Burkhalter
bpb at openjdk.org
Tue Oct 17 20:00:38 UTC 2023
Add to `java.nio.file.Path` a method `getExtension` to retrieve the `Path`'s extension, and companion methods `removeExtension` and `addExtension`.
-------------
Commit messages:
- 8298318: (fs) APIs for handling filename extensions
Changes: https://git.openjdk.org/jdk/pull/16226/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16226&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8298318
Stats: 237 lines in 2 files changed: 236 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/16226.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16226/head:pull/16226
PR: https://git.openjdk.org/jdk/pull/16226
More information about the nio-dev
mailing list