ucar.nc2.dt
Interface TypedDatasetFactoryIF


public interface TypedDatasetFactoryIF

Interface for factories that wrap a NetcdfDataset with a subclass of TypedDataset

Author:
caron

Method Summary
 FeatureType getScientificDataType()
          What kind of cientific data type will this return?
 boolean isMine(NetcdfDataset ncd)
          Determine if this dataset belongs to you
 TypedDataset open(NetcdfDataset ncd, CancelTask task, java.lang.StringBuilder errlog)
          Open a NetcdfDataset as a TypedDataset.
 

Method Detail

isMine

boolean isMine(NetcdfDataset ncd)
Determine if this dataset belongs to you

Parameters:
ncd - examine this NetcdfDataset to see if it belongs to this class.
Returns:
true if this class knows how to create a TypedDataset out of this NetcdfDataset.

open

TypedDataset open(NetcdfDataset ncd,
                  CancelTask task,
                  java.lang.StringBuilder errlog)
                  throws java.io.IOException
Open a NetcdfDataset as a TypedDataset.

Parameters:
ncd - already opened NetcdfDataset.
task - use may cancel
errlog - place errors here
Returns:
a subclass of TypedDataset
Throws:
java.io.IOException - on error

getScientificDataType

FeatureType getScientificDataType()
What kind of cientific data type will this return?

Returns:
scientific data type