public class PointForm extends Form implements FormFileInformer
| Constructor and Description |
|---|
PointForm() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.String id,
Data data,
boolean replace)
This has not been implemented
|
java.lang.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(java.lang.String name)
determine the file type by name.
|
DataImpl |
open(java.lang.String filename)
cannot read the point file locally.
|
DataImpl |
open(java.net.URL url)
read the point file from a URL, and return the point data
as a DataImpl object (a FlatField).
|
void |
save(java.lang.String id,
Data data,
boolean replace)
save the file back to disk
This has not been implemented yet
|
getMathTypepublic boolean isThisType(java.lang.String name)
isThisType in interface FormFileInformername - is the filename in questionpublic boolean isThisType(byte[] block)
isThisType in interface FormFileInformerblock - is an array of ? length from the beginning
of the file in question.public java.lang.String[] getDefaultSuffixes()
getDefaultSuffixes in interface FormFileInformerpublic void save(java.lang.String id,
Data data,
boolean replace)
throws BadFormException,
java.io.IOException,
java.rmi.RemoteException,
VisADException
save in class FormNodeBadFormExceptionjava.io.IOExceptionjava.rmi.RemoteExceptionVisADExceptionpublic void add(java.lang.String id,
Data data,
boolean replace)
throws BadFormException
add in class FormNodeBadFormExceptionpublic DataImpl open(java.net.URL url) throws BadFormException, VisADException, java.io.IOException
open in class FormNodeurl - is the fully-formed URLBadFormExceptionVisADExceptionjava.io.IOExceptionpublic DataImpl open(java.lang.String filename) throws BadFormException, java.io.IOException, java.rmi.RemoteException, VisADException
open in class FormNodefilename - is the local filenameBadFormExceptionjava.io.IOExceptionjava.rmi.RemoteExceptionVisADException