Description
Where a path is created from a sequence of names it requires code like following:
Path file = dir.resolve("images" + fs + "foo.png");
or
Path file = dir.resolve("images").resolve("folder.png");
It has been suggested that FileSystem.getPath(String), and Path.resolve(String) be extended to use varargs so as to support usages such as the following:
Path file = dir.resolve("images", "folder.png");
Path file = dir.resolve("images" + fs + "foo.png");
or
Path file = dir.resolve("images").resolve("folder.png");
It has been suggested that FileSystem.getPath(String), and Path.resolve(String) be extended to use varargs so as to support usages such as the following:
Path file = dir.resolve("images", "folder.png");
Attachments
Issue Links
- duplicates
-
JDK-7006126 (fs) Updates to file system API (1/2011)
- Closed