java - What does this Path "file:///Users/..." mean? -


a path constructor example java tutorial:

path p3 = paths.get(uri.create("file:///users/joe/filetest.java")); 

what part uri.create("file:///users/joe/filetest.java") means? i'm not familiar uri synctax

it means file:// i.e file @ /users/joe/filetest.java.

similar other protocols, http:// , ftp://, path starts / looks little odd.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -