RFR: 8298318: (fs) APIs for handling filename extensions [v6]

Brian Burkhalter bpb at openjdk.org
Thu Mar 7 22:46:06 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: corretions to commit 030a250aaf4c309d515507527932b233f210501e

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16226/files
  - new: https://git.openjdk.org/jdk/pull/16226/files/030a250a..4a027a0d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16226&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16226&range=04-05

  Stats: 6 lines in 1 file changed: 1 ins; 0 del; 5 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