Package org.geotools.coverage.io.netcdf
Class NetCDFDriver
- Object
-
- DefaultDriver
-
- DefaultFileDriver
-
- NetCDFDriver
-
- All Implemented Interfaces:
Driver
,FileDriver
,Factory
,OptionalFactory
public class NetCDFDriver extends DefaultFileDriver implements FileDriver, Driver
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 Constructor Description NetCDFDriver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canConnect(URL url, Map<String,Serializable> params)
static boolean
checkNetCDF()
CoverageAccess
connect(URL source, Map<String,Serializable> params, Hints hints, ProgressListener listener)
CoverageAccess
connect(Map<String,Serializable> params, Hints hints, ProgressListener listener)
boolean
isAvailable()
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
-
-
-
-
Method Detail
-
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
protected boolean canConnect(URL url, Map<String,Serializable> params)
- Overrides:
canConnect
in classDefaultFileDriver
-
-