| org.geotools.catalog.GeoResource
All known Subclasses: org.geotools.catalog.adaptable.AdaptingGeoResource, org.geotools.catalog.AbstractGeoResource,
GeoResource | public interface GeoResource extends Resolve(Code) | | Represents a handle to a spatial resource.
The resource is not guaranteed to exist, nor do we guarantee that we can
connect with the resource. Some/All potions of this handle may be loaded as
required. This resource handle may also be the result a metadata service
query.
author: David Zwiers, Refractions Research author: Justin Deoliveira, The Open Planning Project since: 0.6 |
resolve | Object resolve(Class adaptee, ProgressListener monitor) throws IOException(Code) | | Blocking operation to resolve into the adaptee, if available.
Required adaptions:
-
IGeoResourceInfo.class
-
IService.class
Example (no casting required):
IGeoResourceInfo info = resovle(IGeoResourceInfo.class);
Recommendated adaptions:
-
ImageDescriptor.class (for icon provided by external service)
Parameters: adaptee - Parameters: monitor - instance of adaptee, or null if unavailable (IGeoResourceInfoand IService must be supported) throws: IOException - DOCUMENT ME! See Also: GeoResourceInfo See Also: IService See Also: IResolve.resolve(ClassProgressListener) |
|
|