classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.io.File#toURI()


From: Thomas Zander
Subject: Re: java.io.File#toURI()
Date: Tue, 1 Jun 2004 21:42:14 +0200
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 01 June 2004 18:11, Gabriel Ebner wrote:
> Hello,
>
> Jeroen Frijters wrote:
> > "file:/c:/foo.txt"
>
> That should be "file:///c:/foo.txt" (see RFC1738), shouldn't it?

Yes, notice the 3 slashes; since the host part in the
        file://<host>/<path>
is empty. (as I doubt people will like 'localhost' in there ;)

- -- 
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAvNwWCojCW6H2z/QRAriWAKDbQ9lFnGQdrCAKWK7KMC8539nutQCg8l4W
+MMOsm2ZZkmIX8WpNS1cYuw=
=zFCp
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]