|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.netcdf.NetcdfWrapper
Abstract "decorator" class for wrapping a Netcdf object. All
method invocations of the Netcdf API are forwarded to a contained
Netcdf object. This class is designed to be extended.
| Constructor Summary | |
protected |
NetcdfWrapper(Netcdf netcdf)
Constructs from a netCDF object. |
| Method Summary | |
boolean |
contains(Object oo)
Tests an object is in this dataset. |
boolean |
contains(String name)
Tests if the Variable identified by name is in this dataset. |
Variable |
get(String name)
Retrieve the variable associated with a name. |
Attribute |
getAttribute(String name)
Returns a global, netCDF attribute by name. |
AttributeSet |
getAttributes()
Returns the set of global, netCDF attributes in this dataset. |
DimensionSet |
getDimensions()
Returns all the netCDF dimensions in this dataset. |
Netcdf |
getNetcdf()
Returns the wrapped Netcdf object. |
VariableIterator |
iterator()
Returns an iterator over the variables. |
int |
size()
Returns the number of variables. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected NetcdfWrapper(Netcdf netcdf)
throws NullPointerException
netcdf - The netCDF dataset to be wrapped.| Method Detail |
public final Netcdf getNetcdf()
Netcdf object.
Netcdf object.public int size()
size in interface Netcdfpublic VariableIterator iterator()
iterator in interface NetcdfVariableIteratorpublic Variable get(String name)
null is returned.
get in interface Netcdfname - Name of the desired variable.
null.public boolean contains(String name)
name is in this dataset.
contains in interface Netcdfname - Name of the desired variable.
true if and only if this dataset
contains the named variable.public boolean contains(Object oo)
contains in interface Netcdfoo - An object.
true if and only if this dataset
contains oo.public DimensionSet getDimensions()
getDimensions in interface Netcdfpublic AttributeSet getAttributes()
getAttributes in interface Netcdfpublic Attribute getAttribute(String name)
null is returned.
getAttribute in interface Netcdfname - the name of the attribute
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||