Revision 9048 branches/v10/extensions/extWCS/src/com/iver/cit/gvsig/fmap/drivers/wcs/FMapWCSDriver.java

View differences:

FMapWCSDriver.java
79 79
	private Hashtable coverages;
80 80
	private WCSLayer[] layerList;
81 81

  
82
	
83 82

  
83

  
84 84
	/**
85 85
	 * Obtains the host name.
86 86
	 *
......
264 264
	 * request (not a coverage-specific DescribeCoverage request) to read the
265 265
	 * necessary data for building further GetCoverage requests.
266 266
	 * </p>
267
	 * @param override
267 268
	 * @throws IOException, DriverException.
268 269
	 */
269
	public boolean connect(ICancellable cancel) throws IOException, DriverException {
270
	public boolean connect(boolean override, ICancellable cancel) throws IOException, DriverException {
271
		coverages = null;
270 272
		setHost(client.getHost());
271
		return client.connect(cancel);
273
		return client.connect(override, cancel);
272 274
	}
273 275

  
274 276
	/**
......
363 365
			throw new WCSException(e.getMessage());
364 366
		}
365 367
	}
366

  
367
	/**
368
     * Creates a new instance of a WCSClient.
369
     * @param host
370
     * @throws IOException
371
     * @throws ConnectException
372
     */
373
	public void createClient(URL host) throws ConnectException, IOException{
374
		client = new WCSClient(host.toString());
375
	}
376 368
}

Also available in: Unified diff