|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.data.FormNode
visad.data.Form
visad.data.dods.DODSForm
public class DODSForm
Provides support for accessing the DODS form of data from VisAD.
Instances are mutable.
| Field Summary | |
|---|---|
static String |
SUFFIX
The suffix in the path-component of a URL specification that identifies a dataset specification as being a DODS dataset specification. |
| Fields inherited from class visad.data.Form |
|---|
mathType |
| Constructor Summary | |
|---|---|
protected |
DODSForm()
Constructs from nothing. |
| Method Summary | |
|---|---|
void |
add(String id,
Data data,
boolean replace)
Throws an exception. |
static DODSForm |
dodsForm()
Returns an instance of this class. |
String[] |
getDefaultSuffixes()
Returns the path-component suffixes that identifies a dataset specification as being a DODS dataset specification. |
FormNode |
getForms(Data data)
Returns null. |
boolean |
isThisType(byte[] block)
Does nothing. |
boolean |
isThisType(String spec)
Indicates if a dataset specification is consistent with a DODS dataset specification. |
DataImpl |
open(String id)
Opens an existing DODS dataset. |
DataImpl |
open(URL url)
Opens an existing data object. |
void |
save(String id,
Data data,
boolean replace)
Throws an exception. |
| Methods inherited from class visad.data.Form |
|---|
getMathType |
| Methods inherited from class visad.data.FormNode |
|---|
getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SUFFIX
| Constructor Detail |
|---|
protected DODSForm()
| Method Detail |
|---|
public static DODSForm dodsForm()
public void save(String id,
Data data,
boolean replace)
throws BadFormException,
IOException,
RemoteException,
VisADException
save in class FormNodeid - An identifier.data - A VisAD data object.replace - Whether or not to replace an existing object.
UnimplementedException - Always.
BadFormException
IOException
RemoteException
VisADException
public void add(String id,
Data data,
boolean replace)
throws BadFormException
add in class FormNodeid - An identifier.data - A VisAD data object.replace - Whether or not to replace an existing object.
BadFormException - Always.
public DataImpl open(String id)
throws BadFormException,
IOException,
VisADException
open in class FormNodeid - The URL for a DODS dataset. The path component
should have a SUFFIX suffix.
null.
BadFormException - The DODS dataset is corrupt.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
IOException
public DataImpl open(URL url)
throws BadFormException,
VisADException,
IOException
open in class FormNodeurl - The URL for a DODS dataset. The path component
should have a SUFFIX suffix.
BadFormException - The DODS dataset is corrupt.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
IOExceptionpublic FormNode getForms(Data data)
null.
getForms in class FormNodedata - A VisAD data object.
null.public boolean isThisType(String spec)
isThisType in interface FormFileInformerspec - A dataset specification. NB: Not a URL.
true if and only if the dataset
specification is consistent with a DODS dataset
specification.public boolean isThisType(byte[] block)
isThisType in interface FormFileInformerblock - A block of data.
false always.public String[] getDefaultSuffixes()
getDefaultSuffixes in interface FormFileInformer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||