public class GridDatasetStandardFactory extends Object implements FeatureDatasetFactory
| Constructor and Description |
|---|
GridDatasetStandardFactory() |
| Modifier and Type | Method and Description |
|---|---|
FeatureType[] |
getFeatureTypes()
This Factory can open these types of Feature datasets.
|
Object |
isMine(FeatureType wantFeatureType,
NetcdfDataset ncd,
Formatter errlog)
Determine if the factory can open this dataset as an instance of the given feature type
|
FeatureDataset |
open(FeatureType ftype,
NetcdfDataset ncd,
Object analysis,
CancelTask task,
Formatter errlog)
Open a NetcdfDataset as a FeatureDataset.
|
public Object isMine(FeatureType wantFeatureType, NetcdfDataset ncd, Formatter errlog) throws IOException
FeatureDatasetFactoryisMine in interface FeatureDatasetFactorywantFeatureType - can factory open as this feature type? If null, can factory open as any feature type?ncd - examine this NetcdfDataset.errlog - place errors hereIOException - on read errorpublic FeatureDataset open(FeatureType ftype, NetcdfDataset ncd, Object analysis, CancelTask task, Formatter errlog) throws IOException
FeatureDatasetFactoryopen in interface FeatureDatasetFactoryftype - open as this feature type. If null, open as any feature type.ncd - an already opened NetcdfDataset.analysis - the object returned from isMine(). Likely given to a different instance of FeatureDatasetFactorytask - user may cancel, may be nullerrlog - write error messages here, may be nullIOException - on errorpublic FeatureType[] getFeatureTypes()
FeatureDatasetFactorygetFeatureTypes in interface FeatureDatasetFactory