Duplicate :
|
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");
|