Re: Why does the new File(URI) constructor restricts the uri to hierarchical?

2011-05-17 Thread Alan Bateman
Paulo Levi wrote: Yes, they are relative to the current directory of the file normally (the current dir won't work since the file might not be there). If you know they are relative to the current directory then just use new File("").toURI().resolve(link). -Alan.

Re: Why does the new File(URI) constructor restricts the uri to hierarchical?

2011-05-17 Thread Paulo Levi
That's not what i meant. Relative to the "parent directory of the file".

Re: Why does the new File(URI) constructor restricts the uri to hierarchical?

2011-05-17 Thread Paulo Levi
Which may be anywhere. > >