public class PointDatasetStandardFactory extends java.lang.Object implements FeatureDatasetFactory
Constructor and Description |
---|
PointDatasetStandardFactory() |
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)
Check if this is a POINT datatype.
|
FeatureDataset |
open(FeatureType wantFeatureType,
NetcdfDataset ncd,
java.lang.Object analyser,
CancelTask task,
java.util.Formatter errlog)
Open a NetcdfDataset as a FeatureDataset.
|
static void |
setDebugFlags(DebugFlags debugFlags) |
public static void setDebugFlags(DebugFlags debugFlags)
public java.lang.Object isMine(FeatureType wantFeatureType, NetcdfDataset ds, java.util.Formatter errlog) throws java.io.IOException
isMine
in interface FeatureDatasetFactory
wantFeatureType
- desired feature type, null means FeatureType.ANY_POINTds
- analyse this dataseterrlog
- log error messages here (may not be null)java.io.IOException
public FeatureDataset open(FeatureType wantFeatureType, NetcdfDataset ncd, java.lang.Object analyser, CancelTask task, java.util.Formatter errlog) throws java.io.IOException
FeatureDatasetFactory
open
in interface FeatureDatasetFactory
wantFeatureType
- open as this feature type. If null, open as any feature type.ncd
- an already opened NetcdfDataset.analyser
- 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