public class PointDatasetStandardFactory extends java.lang.Object implements FeatureDatasetFactory
| Constructor and Description |
|---|
PointDatasetStandardFactory() |
| Modifier and Type | Method and Description |
|---|---|
FeatureType[] |
getFeatureTypes()
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)
isMine in interface FeatureDatasetFactorywantFeatureType - desired feature type, null means FeatureType.ANY_POINTds - analyse this dataseterrlog - log error messages here (may not be null)public FeatureDataset open(FeatureType wantFeatureType, NetcdfDataset ncd, java.lang.Object analyser, CancelTask task, java.util.Formatter errlog) throws java.io.IOException
FeatureDatasetFactoryopen in interface FeatureDatasetFactorywantFeatureType - 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[] getFeatureTypes()
FeatureDatasetFactorygetFeatureTypes in interface FeatureDatasetFactory