Package ucar.nc2.dataset.spi
Interface NetcdfFileProvider
-
- All Known Implementing Classes:
CatalogNetcdfFileProvider
,CdmRemoteNetcdfFileProvider
,DapNetcdfFileProvider
,DODSNetcdfFileProvider
,NcmlNetcdfFileProvider
public interface NetcdfFileProvider
A Service Provider of NetcdfFile. Typically used by remote protocols (dods, cdmremote) or anything not reading from a RandomAccessFile.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getProtocol()
The leading protocol string (without a trailing ":").default boolean
isOwnerOf(String location)
Determine if this Provider owns this location.boolean
isOwnerOf(DatasetUrl durl)
Determine if this Provider owns this DatasetUrl.NetcdfFile
open(String location, CancelTask cancelTask)
Open a location that this Provider is the owner of.
-
-
-
Method Detail
-
getProtocol
String getProtocol()
The leading protocol string (without a trailing ":").
-
isOwnerOf
boolean isOwnerOf(DatasetUrl durl)
Determine if this Provider owns this DatasetUrl.
-
isOwnerOf
default boolean isOwnerOf(String location)
Determine if this Provider owns this location.
-
open
NetcdfFile open(String location, CancelTask cancelTask) throws IOException
Open a location that this Provider is the owner of.- Throws:
IOException
-
-