public class RadialDatasetStandardFactory extends java.lang.Object implements FeatureDatasetFactory
Constructor and Description |
---|
RadialDatasetStandardFactory() |
Modifier and Type | Method and Description |
---|---|
FeatureType[] |
getFeatureType()
This Factory can open these types of Feature datasets.
|
java.lang.Object |
isMine(FeatureType wantFeatureType,
NetcdfDataset ds,
java.util.Formatter errlog)
Determine if the factory can open this dataset as an instance of the given feature type
|
FeatureDataset |
open(FeatureType ftype,
NetcdfDataset ncd,
java.lang.Object analysis,
CancelTask task,
java.util.Formatter errlog)
Open a NetcdfDataset as a FeatureDataset.
|
public java.lang.Object isMine(FeatureType wantFeatureType, NetcdfDataset ds, java.util.Formatter errlog) throws java.io.IOException
FeatureDatasetFactory
isMine
in interface FeatureDatasetFactory
wantFeatureType
- can factory open as this feature type? If null, can factory open as any feature type?ds
- examine this NetcdfDataset.errlog
- place errors herejava.io.IOException
- on read errorpublic FeatureDataset open(FeatureType ftype, NetcdfDataset ncd, java.lang.Object analysis, CancelTask task, java.util.Formatter errlog) throws java.io.IOException
FeatureDatasetFactory
open
in interface FeatureDatasetFactory
ftype
- 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 nulljava.io.IOException
- on errorpublic FeatureType[] getFeatureType()
FeatureDatasetFactory
getFeatureType
in interface FeatureDatasetFactory