Revision 33651
trunk/libraries/libIverUtiles/src/org/gvsig/tools/file/PathGenerator.java | ||
---|---|---|
116 | 116 |
return null; |
117 | 117 |
File filePath; |
118 | 118 |
try { |
119 |
URI uri = new URI(path); |
|
119 |
URI uri = new URI(path.replace(" ", "%20"));
|
|
120 | 120 |
filePath = new File(uri); |
121 |
} catch (URISyntaxException e) {
|
|
121 |
} catch (Exception e) { |
|
122 | 122 |
filePath=new File(path); |
123 | 123 |
} |
124 | 124 |
return filePath; |
Also available in: Unified diff