|
|||||||||
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.netcdf.NetCDF
public abstract class NetCDF
The NetCDF class provides an abstract class for the family of netCDF data forms for files in a local directory.
Field Summary |
---|
Fields inherited from class visad.data.Form |
---|
mathType |
Constructor Summary | |
---|---|
NetCDF(java.lang.String name)
Construct a netCDF data form. |
Method Summary | |
---|---|
java.lang.String[] |
getDefaultSuffixes()
Returns the path-component suffixes that identifies a dataset specification as being a netCDF dataset specification. |
boolean |
isThisType(byte[] block)
Indicates if a given block of bytes is the start of a netCDF dataset. |
boolean |
isThisType(java.lang.String spec)
Indicates if a dataset specification is consistent with a netCDF dataset specification. |
abstract DataImpl |
open(java.lang.String path)
Open an existing file. |
Methods inherited from class visad.data.Form |
---|
getMathType |
Methods inherited from class visad.data.FormNode |
---|
add, getForms, getName, open, save |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetCDF(java.lang.String name)
name
- The name for the family of netCDF data forms.Method Detail |
---|
public abstract DataImpl open(java.lang.String path) throws BadFormException, java.io.IOException, VisADException
open
in class FormNode
path
- The pathname of the file.
BadFormException
- netCDF couldn't handle VisAD object.
VisADException
- Couldn't create necessary VisAD object.
java.io.IOException
- I/O error.public boolean isThisType(java.lang.String spec)
isThisType
in interface FormFileInformer
spec
- A dataset specification. NB: Not a URL.
true
if and only if the dataset
specification is consistent with a netCDF
dataset specification.public boolean isThisType(byte[] block)
isThisType
in interface FormFileInformer
block
- A block of data.
public java.lang.String[] getDefaultSuffixes()
getDefaultSuffixes
in interface FormFileInformer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |