net.refractions.udig.catalog.util
Class GeoToolsAdapters

java.lang.Object
  extended by net.refractions.udig.catalog.util.GeoToolsAdapters

public class GeoToolsAdapters
extends java.lang.Object

This class provides support for GeoTools Java 1.4 catalog interfaces.

This factory produces Java 5 wrappers around base GeoTools constructs.

Author:
Jody Garnett

Constructor Summary
GeoToolsAdapters()
           
 
Method Summary
static Catalog getLocalCatalog()
          Serves up the local catalog as a GeoTools Catalog.
static IGeoResourceInfo info(GeoResourceInfo info)
           
static ProgressListener progress(IProgressMonitor monitor)
           
static IGeoResource resource(GeoResource resource)
           
static java.util.List<IGeoResource> resourceList(java.util.List<GeoResource> resourceList)
           
static IService service(Service service)
           
static IResolve.Status status(org.geotools.catalog.Resolve.Status status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoToolsAdapters

public GeoToolsAdapters()
Method Detail

getLocalCatalog

public static Catalog getLocalCatalog()
Serves up the local catalog as a GeoTools Catalog.

This is helpful when creating many of the geotools service instances (who often want to provide event notification).

Returns:
Catalog

resourceList

public static java.util.List<IGeoResource> resourceList(java.util.List<GeoResource> resourceList)

resource

public static IGeoResource resource(GeoResource resource)

info

public static IGeoResourceInfo info(GeoResourceInfo info)

service

public static IService service(Service service)

status

public static IResolve.Status status(org.geotools.catalog.Resolve.Status status)

progress

public static ProgressListener progress(IProgressMonitor monitor)