|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.ft.radial.RadialDatasetStandardFactory
public class RadialDatasetStandardFactory
Adapt existing Radial Datasets implementing TypedDatasetFactoryIF, for FeatureDatasetFactory.
Constructor Summary | |
---|---|
RadialDatasetStandardFactory()
|
Method Summary | |
---|---|
FeatureType[] |
getFeatureType()
This Factory can open these types of Feature datasets. |
Object |
isMine(FeatureType wantFeatureType,
NetcdfDataset ds,
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RadialDatasetStandardFactory()
Method Detail |
---|
public Object isMine(FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog) throws 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 here
IOException
- on read errorpublic FeatureDataset open(FeatureType ftype, NetcdfDataset ncd, Object analysis, CancelTask task, Formatter errlog) throws 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 null
IOException
- on errorpublic FeatureType[] getFeatureType()
FeatureDatasetFactory
getFeatureType
in interface FeatureDatasetFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |