In Java can I create a URI for a file located locally in the hard drive? If so, how should it be constructed?
URI uri = new URI("file:///filename.txt");
If you're using Windows:
URI uri = new URI("file:///C:/fun/filename.txt");