Use File.toURI().toURL() instead of File.toURL()
------------------------------------------------
Key: GEOT-2568
URL: http://jira.codehaus.org/browse/GEOT-2568
Project: GeoTools
Issue Type: Bug
Affects Versions: 2.5.7
Reporter: Michael Rudolf
Attachments: File-toURI-toURL.patch
Hi,
For converting files to URLs one should use java.io.File.toURI() followed by
java.net.URI.toURL() instead of just java.io.File.toURL(), as the latter method
has problems with converting special characters. The attached patch applies
against geotools/branches/2.5.x/
Best regards,
Michael
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel