}
}
}
private void loadFileInMap( File file ) throws Exception {
URL fileUrl = file.toURI().toURL();
CatalogPlugin cp = CatalogPlugin.getDefault();
IServiceFactory sf = cp.getServiceFactory();
List<IService> services = sf.createService(fileUrl);
List<IGeoResource> resources = new ArrayList<IGeoResource>();
for( IService service : services ) {
List< ? extends IGeoResource> geoResource = service.resources(new NullProgressMonitor());
if (geoResource != null) {