|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mbari.oasis.OMSAttributeReader
This class reads in data from a file in 'mooring'/data/specprr files and collects the netcdf specific information for attributes
| Field Summary | |
protected ucar.netcdf.Attribute[] |
attributes
|
| Constructor Summary | |
OMSAttributeReader(java.io.File file)
MooringAttributeReader reads in the Attributes in the main configuration file |
|
OMSAttributeReader(java.lang.String filename)
MooringAttributeReader reads in the Attributes in the main configuration file |
|
| Method Summary | |
int |
countAttributes()
Count the number of attributes in the file |
ucar.netcdf.Attribute |
getAttribute(int i)
Get a single attribute |
ucar.netcdf.Attribute[] |
getAttributes()
Get all attributes |
java.lang.String |
getFilename()
|
boolean |
hasMoreElements()
Enumeration interface |
java.lang.Object |
nextElement()
Enumeration interface |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ucar.netcdf.Attribute[] attributes
| Constructor Detail |
public OMSAttributeReader(java.lang.String filename)
filename - The configuration file containing the mooring attributespublic OMSAttributeReader(java.io.File file)
| Method Detail |
public java.lang.String getFilename()
public ucar.netcdf.Attribute[] getAttributes()
public ucar.netcdf.Attribute getAttribute(int i)
i - The index of the attribute to return. REMINDER Java uses
zero based indices.
java.lang.ArrayIndexOutOfBoundsExceptionpublic int countAttributes()
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic java.lang.Object nextElement()
nextElement in interface java.util.Enumeration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||