|
||||||||||
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 List<VariableSimpleIF> |
dataVariables
|
protected String |
desc
|
protected Date |
endDate
|
protected String |
location
|
protected NetcdfDataset |
ncfile
|
protected StringBuffer |
parseInfo
|
protected Date |
startDate
|
protected String |
title
|
Constructor Summary | |
---|---|
TypedDatasetImpl()
No-arg constuctor |
|
TypedDatasetImpl(NetcdfDataset ncfile)
Construtor when theres a NetcdfFile underneath |
|
TypedDatasetImpl(String title,
String description,
String location)
Constructor when theres no NetcdfFile underneath. |
Method Summary | |
---|---|
void |
close()
Close all resources associated with this dataset. |
Attribute |
findGlobalAttributeIgnoreCase(String name)
|
LatLonRect |
getBoundingBox()
|
VariableSimpleIF |
getDataVariable(String shortName)
Get the named data Variable. |
List<VariableSimpleIF> |
getDataVariables()
The data Variables available in this dataset. |
String |
getDescription()
|
String |
getDetailInfo()
|
Date |
getEndDate()
|
List<Attribute> |
getGlobalAttributes()
List of global attributes. |
String |
getLocation()
|
String |
getLocationURI()
|
NetcdfFile |
getNetcdfFile()
|
Date |
getStartDate()
|
String |
getTitle()
|
protected void |
removeDataVariable(String varName)
|
protected abstract void |
setBoundingBox()
|
void |
setDescription(String desc)
|
protected abstract void |
setEndDate()
|
void |
setLocationURI(String location)
|
protected abstract void |
setStartDate()
|
void |
setTitle(String title)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected NetcdfDataset ncfile
protected String title
protected String desc
protected String location
protected Date startDate
protected Date endDate
protected LatLonRect boundingBox
protected List<VariableSimpleIF> dataVariables
protected StringBuffer parseInfo
Constructor Detail |
---|
public TypedDatasetImpl()
public TypedDatasetImpl(String title, String description, String location)
title
- title of the dataset.description
- description of the dataset.location
- URI of the datasetpublic TypedDatasetImpl(NetcdfDataset ncfile)
ncfile
- adapt this NetcdfDatasetMethod Detail |
---|
public void setTitle(String title)
public void setDescription(String desc)
public void setLocationURI(String location)
protected abstract void setStartDate()
protected abstract void setEndDate()
protected abstract void setBoundingBox()
protected void removeDataVariable(String varName)
public NetcdfFile getNetcdfFile()
getNetcdfFile
in interface TypedDataset
public String getTitle()
getTitle
in interface TypedDataset
public String getDescription()
getDescription
in interface TypedDataset
public String getLocationURI()
getLocationURI
in interface TypedDataset
public String getLocation()
public List<Attribute> getGlobalAttributes()
TypedDataset
getGlobalAttributes
in interface TypedDataset
public Attribute findGlobalAttributeIgnoreCase(String name)
findGlobalAttributeIgnoreCase
in interface TypedDataset
name
- attribute name
public void close() throws IOException
TypedDataset
close
in interface TypedDataset
IOException
- on I/O errorpublic String getDetailInfo()
getDetailInfo
in interface TypedDataset
public Date getStartDate()
getStartDate
in interface TypedDataset
public Date getEndDate()
getEndDate
in interface TypedDataset
public LatLonRect getBoundingBox()
getBoundingBox
in interface TypedDataset
public List<VariableSimpleIF> getDataVariables()
TypedDataset
getDataVariables
in interface TypedDataset
public VariableSimpleIF getDataVariable(String shortName)
TypedDataset
getDataVariable
in interface TypedDataset
shortName
- of data Variable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |