|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mbari.oasis.OMSVariableReader
OMSVariableReader (OMS = Oasis Mooring Specprr) is used to get Variable information about the configuration that is stored in the configuration files
| Constructor Summary | |
OMSVariableReader(java.io.File file)
OMSVariableReader reads in the Variables in the main configuration file |
|
OMSVariableReader(java.lang.String filename)
OMSVariableReader reads in the Variables in the main configuration file |
|
| Method Summary | |
int |
countVariables()
Count the number of variables in the file |
java.lang.String |
getFilename()
|
org.mbari.oasis.OMSVariable |
getVariable(int i)
Get a single variable in the file |
org.mbari.oasis.OMSVariable[] |
getVariables()
Get all the variables in the file |
boolean |
hasMoreElements()
Enumeration interface |
static void |
main(java.lang.String[] args)
|
java.lang.Object |
nextElement()
Enumeration interface |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OMSVariableReader(java.lang.String filename)
filename - The configuration file containing the mooring attributespublic OMSVariableReader(java.io.File file)
| Method Detail |
public int countVariables()
public java.lang.String getFilename()
public org.mbari.oasis.OMSVariable getVariable(int i)
i - The index of the variable to return (Zero based indices)
java.lang.ArrayIndexOutOfBoundsExceptionpublic org.mbari.oasis.OMSVariable[] getVariables()
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic java.lang.Object nextElement()
nextElement in interface java.util.Enumerationpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||