|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucar.nc2.ft.point.standard.PointDatasetStandardFactory
public class PointDatasetStandardFactory
Standard handler for Point obs dataset based on a NetcdfDataset object. Registered with FeatureDatasetFactoryManager. The convention-specific stuff is handled by TableAnayser.
| Constructor Summary | |
|---|---|
PointDatasetStandardFactory()
|
|
| Method Summary | |
|---|---|
FeatureType[] |
getFeatureType()
This Factory can open these types of Feature datasets. |
Object |
isMine(FeatureType wantFeatureType,
NetcdfDataset ds,
Formatter errlog)
Check if this is a POINT datatype. |
static void |
main(String[] args)
|
FeatureDataset |
open(FeatureType wantFeatureType,
NetcdfDataset ncd,
Object analyser,
CancelTask task,
Formatter errlog)
Open a NetcdfDataset as a FeatureDataset. |
static void |
setDebugFlags(DebugFlags debugFlags)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PointDatasetStandardFactory()
| Method Detail |
|---|
public static void setDebugFlags(DebugFlags debugFlags)
public Object isMine(FeatureType wantFeatureType,
NetcdfDataset ds,
Formatter errlog)
throws IOException
isMine in interface FeatureDatasetFactorywantFeatureType - desired feature type, null means FeatureType.ANY_POINTds - analyse this dataseterrlog - log error messages here (may not be null)
IOException
public FeatureDataset open(FeatureType wantFeatureType,
NetcdfDataset ncd,
Object analyser,
CancelTask task,
Formatter errlog)
throws IOException
FeatureDatasetFactory
open 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 null
IOException - on errorpublic FeatureType[] getFeatureType()
FeatureDatasetFactory
getFeatureType in interface FeatureDatasetFactory
public static void main(String[] args)
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||