Revision 5536 trunk/libraries/libRemoteServices/src/org/gvsig/remoteClient/wfs/WFSProtocolHandler.java
WFSProtocolHandler.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import java.io.File; |
4 | 4 |
import java.net.URL; |
5 |
import java.util.Enumeration; |
|
6 | 5 |
import java.util.HashMap; |
7 | 6 |
import java.util.Hashtable; |
8 | 7 |
import java.util.Set; |
9 | 8 |
import java.util.Vector; |
10 | 9 |
|
11 | 10 |
import org.gvsig.remoteClient.OGCProtocolHandler; |
11 |
import org.gvsig.remoteClient.utils.Utilities; |
|
12 | 12 |
|
13 | 13 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
14 | 14 |
* |
... | ... | |
54 | 54 |
* |
55 | 55 |
* $Id$ |
56 | 56 |
* $Log$ |
57 |
* Revision 1.3 2006-05-23 13:23:13 jorpiell |
|
57 |
* Revision 1.4 2006-05-30 13:58:03 jaume |
|
58 |
* cancelable downloads |
|
59 |
* |
|
60 |
* Revision 1.3 2006/05/23 13:23:13 jorpiell |
|
58 | 61 |
* Se ha cambiado el final del bucle de parseado y se tiene en cuenta el online resource |
59 | 62 |
* |
60 | 63 |
* Revision 1.2 2006/04/20 16:39:16 jorpiell |
... | ... | |
94 | 97 |
e.printStackTrace(); |
95 | 98 |
} |
96 | 99 |
try { |
97 |
File f = com.iver.andami.Utilities.downloadFile(request,"wfs_capabilities.xml");
|
|
100 |
File f = Utilities.downloadFile(request,"wfs_capabilities.xml", null);
|
|
98 | 101 |
parseCapabilities(f); |
99 | 102 |
} catch(Exception e) { |
100 | 103 |
e.printStackTrace(); |
... | ... | |
156 | 159 |
e.printStackTrace(); |
157 | 160 |
} |
158 | 161 |
try { |
159 |
File f = com.iver.andami.Utilities.downloadFile(request, "wfs_describeFeatureType.xml");
|
|
162 |
File f = Utilities.downloadFile(request, "wfs_describeFeatureType.xml", null);
|
|
160 | 163 |
parseDescribeFeatureType(f); |
161 | 164 |
|
162 | 165 |
} catch(Exception e) { |
... | ... | |
205 | 208 |
e.printStackTrace(); |
206 | 209 |
} |
207 | 210 |
try { |
208 |
File f = com.iver.andami.Utilities.downloadFile(request, "wfs_getFeature.xml");
|
|
211 |
File f = Utilities.downloadFile(request, "wfs_getFeature.xml", null);
|
|
209 | 212 |
return f; |
210 | 213 |
|
211 | 214 |
} catch(Exception e) { |
Also available in: Unified diff