RFR: 8298318: (fs) APIs for handling filename extensions [v7]
Brian Burkhalter
bpb at openjdk.org
Tue Mar 12 23:00:45 UTC 2024
> Add to `java.nio.file.Path` a method `getExtension` to retrieve the `Path`'s extension, and companion methods `removeExtension` and `addExtension`.
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
8298318: Revise handling of leading periods
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/16226/files
- new: https://git.openjdk.org/jdk/pull/16226/files/4a027a0d..f66373e5
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=16226&range=06
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=16226&range=05-06
Stats: 39 lines in 2 files changed: 0 ins; 20 del; 19 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