Package org.geotools.coverage.io.netcdf
Class NetCDFDriver
Object
DefaultDriver
DefaultFileDriver
NetCDFDriver
- All Implemented Interfaces:
Driver
,FileDriver
,Factory
,OptionalFactory
NetCDF Driver
-
Nested Class Summary
Nested classes/interfaces inherited from interface Driver
Driver.DriverCapabilities
-
Field Summary
Fields inherited from class DefaultFileDriver
URL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canConnect
(URL url, Map<String, Serializable> params) static boolean
connect
(URL source, Map<String, Serializable> params, Hints hints, ProgressListener listener) connect
(Map<String, Serializable> params, Hints hints, ProgressListener listener) boolean
Test to see if thisDriver
is available, if it has all the appropriate dependencies (jars or libraries).Methods inherited from class DefaultFileDriver
canConnect, canCreate, canCreate, canDelete, canDelete, canProcess, create, create, defineConnectParameterInfo, defineCreateParameterInfo, defineDeleteParameterInfo, delete, delete, getFileExtensions, process
Methods inherited from class DefaultDriver
access, canAccess, getConnectParameterInfo, getCreateParameterInfo, getDeleteParameterInfo, getDescription, getDriverCapabilities, getImplementationHints, getName, getParameterInfo, getTitle
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface Driver
access, canAccess, getDescription, getDriverCapabilities, getName, getParameterInfo, getTitle
Methods inherited from interface Factory
getImplementationHints
Methods inherited from interface FileDriver
canProcess, getFileExtensions, process
-
Constructor Details
-
NetCDFDriver
public NetCDFDriver()
-
-
Method Details
-
connect
public CoverageAccess connect(URL source, Map<String, Serializable> params, Hints hints, ProgressListener listener) throws IOException- Overrides:
connect
in classDefaultFileDriver
- Throws:
IOException
-
connect
public CoverageAccess connect(Map<String, Serializable> params, Hints hints, ProgressListener listener) throws IOException- Overrides:
connect
in classDefaultFileDriver
- Throws:
IOException
-
isAvailable
public boolean isAvailable()Description copied from interface:Driver
Test to see if thisDriver
is available, if it has all the appropriate dependencies (jars or libraries).One may ask how this is different than
#canConnect(Map)
, and basically available can be used by finder mechanisms to list availableDriver
s.- Specified by:
isAvailable
in interfaceDriver
- Specified by:
isAvailable
in interfaceOptionalFactory
- Overrides:
isAvailable
in classDefaultDriver
- Returns:
- true if and only if this factory has all the appropriate dependencies on the classpath to create DataStores.
-
checkNetCDF
public static boolean checkNetCDF() -
canConnect
- Overrides:
canConnect
in classDefaultFileDriver
-