Re: Why does the new File(URI) constructor restricts the uri to hierarchical?
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?
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?
Which may be anywhere. > >