Example implementation:
for( IGeoResource resource : getGeoResources() ) { if (resource.canResolve(FeatureSource.class)) { return resource; } } return null;
@param clazz class of the resource that the IGeoResource claims it can adapt to.
@return true if a IGeoResource exists that canResolve to resourceType.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|