Yes it will. A Path
(or File
with the old API) is just an abstract path. You can create Paths.get("I don't exist")
(or new File("I don't exist")
with the old API).
Since this is Unix, you can open("/dev/hda1")
, hence you get a file descriptor with read()
and write()
(but don't) on it.