|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.nc2.dt.TypedDatasetImpl
public abstract class TypedDatasetImpl
Superclass for implementations of TypedDataset.
| Field Summary | |
|---|---|
protected LatLonRect |
boundingBox
|
protected java.util.ArrayList |
dataVariables
|
protected java.lang.String |
desc
|
protected java.util.Date |
endDate
|
protected java.lang.String |
location
|
protected NetcdfFile |
ncfile
|
protected java.lang.StringBuffer |
parseInfo
|
protected java.util.Date |
startDate
|
protected java.lang.String |
title
|
| Constructor Summary | |
|---|---|
TypedDatasetImpl()
No-arg constuctor |
|
TypedDatasetImpl(NetcdfFile ncfile)
Construtor when theres a NetcdfFile underneath |
|
TypedDatasetImpl(java.lang.String title,
java.lang.String description,
java.lang.String location)
Constructor when theres no NetcdfFile underneath. |
|
| Method Summary | |
|---|---|
void |
close()
Close all resources associated with this dataset. |
Attribute |
findGlobalAttributeIgnoreCase(java.lang.String name)
Return the global attribute with the given name, ingnoring case. |
LatLonRect |
getBoundingBox()
The boundingBox for the entire dataset. |
VariableSimpleIF |
getDataVariable(java.lang.String shortName)
Get the named data Variable. |
java.util.List |
getDataVariables()
The data Variables available in this dataset. |
java.lang.String |
getDescription()
Text information about this dataset. |
java.lang.String |
getDetailInfo()
Show debug / underlying implementation details |
java.util.Date |
getEndDate()
End date for the entire dataset. |
java.util.List |
getGlobalAttributes()
List of global attributes. |
java.lang.String |
getLocationURI()
The URI location of the dataset |
NetcdfFile |
getNetcdfFile()
Return underlying NetcdfFile, or null if none. |
java.util.Date |
getStartDate()
Start date for the entire dataset. |
java.lang.String |
getTitle()
Title of the dataset. |
protected void |
removeDataVariable(java.lang.String varName)
|
protected abstract void |
setBoundingBox()
|
void |
setDescription(java.lang.String desc)
|
protected abstract void |
setEndDate()
|
void |
setLocationURI(java.lang.String location)
|
protected abstract void |
setStartDate()
|
void |
setTitle(java.lang.String title)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected NetcdfFile ncfile
protected java.lang.String title
protected java.lang.String desc
protected java.lang.String location
protected java.util.Date startDate
protected java.util.Date endDate
protected LatLonRect boundingBox
protected java.util.ArrayList dataVariables
protected java.lang.StringBuffer parseInfo
| Constructor Detail |
|---|
public TypedDatasetImpl()
public TypedDatasetImpl(java.lang.String title,
java.lang.String description,
java.lang.String location)
title - title of the dataset.description - description of the dataset.location - URI of the datasetpublic TypedDatasetImpl(NetcdfFile ncfile)
| Method Detail |
|---|
public void setTitle(java.lang.String title)
public void setDescription(java.lang.String desc)
public void setLocationURI(java.lang.String location)
protected abstract void setStartDate()
protected abstract void setEndDate()
protected abstract void setBoundingBox()
protected void removeDataVariable(java.lang.String varName)
public NetcdfFile getNetcdfFile()
TypedDataset
getNetcdfFile in interface TypedDatasetpublic java.lang.String getTitle()
TypedDataset
getTitle in interface TypedDatasetpublic java.lang.String getDescription()
TypedDataset
getDescription in interface TypedDatasetpublic java.lang.String getLocationURI()
TypedDataset
getLocationURI in interface TypedDatasetpublic java.util.List getGlobalAttributes()
TypedDataset
getGlobalAttributes in interface TypedDatasetpublic Attribute findGlobalAttributeIgnoreCase(java.lang.String name)
TypedDataset
findGlobalAttributeIgnoreCase in interface TypedDataset
public void close()
throws java.io.IOException
TypedDataset
close in interface TypedDatasetjava.io.IOExceptionpublic java.lang.String getDetailInfo()
TypedDataset
getDetailInfo in interface TypedDatasetpublic java.util.Date getStartDate()
TypedDataset
getStartDate in interface TypedDatasetpublic java.util.Date getEndDate()
TypedDataset
getEndDate in interface TypedDatasetpublic LatLonRect getBoundingBox()
TypedDataset
getBoundingBox in interface TypedDatasetpublic java.util.List getDataVariables()
TypedDataset
getDataVariables in interface TypedDatasetpublic VariableSimpleIF getDataVariable(java.lang.String shortName)
TypedDataset
getDataVariable in interface TypedDatasetshortName - of data Variable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||