Andrea we have a similar class in uDig called URLUtils that handles a
lot of these issues; I would love to compare implementations etc... So
yes the issue is very real; in particular the Java File classes do not
have any great way of dealing with the "root" items:
- C: D: on windows - ie drive letters
- \\host.port\share on windows - wacka wacka paths
- / on unix - root

Jody

On Sun, Jun 28, 2009 at 6:26 PM, Andrea Aime<aa...@opengeo.org> wrote:
> Hi all,
> a GT2 user provided this patch:
> http://jira.codehaus.org/browse/GEOT-2568
>
> that deals with deficiencies of File.toURL to deal
> with special characters. I checked on the net and
> confirmed the issue is real.
>
> The patch is quite mechanic, but also very extensive
> (60kb) so I would like to get some feedback from other
> devs before applying.
>
> Cheers
> Andrea
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Geotools-devel mailing list
> Geotools-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>

------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to