|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.data.FormNode visad.data.Form visad.data.mcidas.PointForm
public class PointForm
to allow determination of whether a data request is for McIDAS ADDE for point type data
Field Summary |
---|
Fields inherited from class visad.data.Form |
---|
mathType |
Constructor Summary | |
---|---|
PointForm()
|
Method Summary | |
---|---|
void |
add(String id,
Data data,
boolean replace)
This has not been implemented |
String[] |
getDefaultSuffixes()
return a list of suffixes associated with this file type |
FormNode |
getForms(Data data)
not implemented yet |
boolean |
isThisType(byte[] block)
there is no unique way to identify these data by examning the contents of the first block of data values |
boolean |
isThisType(String name)
determine the file type by name. |
DataImpl |
open(String filename)
cannot read the point file locally. |
DataImpl |
open(URL url)
read the point file from a URL, and return the point data as a DataImpl object (a FlatField). |
void |
save(String id,
Data data,
boolean replace)
save the file back to disk This has not been implemented yet |
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 |
Constructor Detail |
---|
public PointForm()
Method Detail |
---|
public boolean isThisType(String name)
isThisType
in interface FormFileInformer
name
- is the filename in question
public boolean isThisType(byte[] block)
isThisType
in interface FormFileInformer
block
- is an array of ? length from the beginning
of the file in question.
public String[] getDefaultSuffixes()
getDefaultSuffixes
in interface FormFileInformer
public void save(String id, Data data, boolean replace) throws BadFormException, IOException, RemoteException, VisADException
save
in class FormNode
BadFormException
IOException
RemoteException
VisADException
public void add(String id, Data data, boolean replace) throws BadFormException
add
in class FormNode
BadFormException
public DataImpl open(URL url) throws BadFormException, VisADException, IOException
open
in class FormNode
url
- is the fully-formed URL
BadFormException
VisADException
IOException
public DataImpl open(String filename) throws BadFormException, IOException, RemoteException, VisADException
open
in class FormNode
filename
- is the local filename
BadFormException
IOException
RemoteException
VisADException
public FormNode getForms(Data data)
getForms
in class FormNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |