|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdods.clients.matlab.MatlabDods
public class MatlabDods
Provides an interface to the Java DAP library to be used by matlab
Field Summary | |
---|---|
protected static DConnect |
connect
|
protected static DAS |
das
|
protected static DDS |
dds
|
Constructor Summary | |
---|---|
MatlabDods(String url)
Construct a new MatlabDods with dods url url . |
Method Summary | |
---|---|
void |
downloadDAS()
Download the dods DAS and store it locally. |
void |
downloadData(String ce)
Download the dods data and store it locally. |
void |
downloadDDS()
Download the dods DAS and store it locally. |
AttributeTable |
getAttrTable(String name)
Return the AttributeTable with name name . |
Enumeration |
getAttrTableNames()
Return an Enumeration of the names of the Attr tables in the dataset. |
Enumeration |
getVariables()
Return an Enumeration of the variables in the dataset. |
int |
numVariables()
Return the number of variables in the dataset (0 if the data hasn't been downloaded yet). |
String |
printDASToString()
|
void |
printDDS()
Print the DDS of the dataset |
String |
printDDSToString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static DAS das
protected static DDS dds
protected static DConnect connect
Constructor Detail |
---|
public MatlabDods(String url) throws FileNotFoundException
MatlabDods
with dods url url
.
url
- The dods url (without ce) to connect to
FileNotFoundException
Method Detail |
---|
public void downloadData(String ce) throws Exception
ce
- The constraint expression to use when downloading the dataset.
Exception
public void downloadDDS() throws Exception
Exception
public void downloadDAS() throws Exception
Exception
public void printDDS() throws Exception
Exception
public String printDDSToString()
public String printDASToString()
public int numVariables()
public Enumeration getVariables()
public Enumeration getAttrTableNames()
public AttributeTable getAttrTable(String name)
AttributeTable
with name name
.
name
- The name of the attribute
AttributeTable
with name name
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |