Re: java.net.URL.getBasePath() --> time to have it?

2013-01-17 Thread Bruno Borges
;).resolve("") returns http://www.foo.com/a/b/ URL has a constructor which does something similar (the URL(URL, String) one) - Michael On 15/01/13 22:18, Bruno Borges wrote: Hey folks, To be able to get the basePath of a URL, so we can load other stuff somewhere else, defined as a relativ

java.net.URL.getBasePath() --> time to have it?

2013-01-15 Thread Bruno Borges
t would be a great increment to the java.net.URL class (and perhaps java.net.URI as well), to offer this out of the box. Thoughts? PS: apparently, I sent this message during holidays, that's why nobody replied? --> http://mail.openjdk.java.net/pipermail/net-dev/2012-December/0053

java.net.URL.getBasePath() --> time to have it?

2012-12-21 Thread Bruno Borges
be a great increment to the URL class (and perhaps URI as well), to offer this out of the box. Thoughts? -- Bruno Borges Principal Product Manager | JavaEE WebLogic GlassFish Oracle LAD PM Team| Cloud Application Foundation +55 11 5187 6514 (Work) | +55 11 99564 9058 (Mobi)