public class AreaForm extends Form implements FormFileInformer
Constructor and Description |
---|
AreaForm() |
Modifier and Type | Method and Description |
---|---|
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 an AREA file by
examining the contents of the first block of data values
|
boolean |
isThisType(String name)
determine the file type by name.
|
DataImpl |
open(String path)
read the area file from local disk, and return the Area file
as a DataImpl object (a FlatField).
|
DataImpl |
open(URL url)
read the area file from a URL, and return the Area file
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
|
getMathType
public boolean isThisType(String name)
isThisType
in interface FormFileInformer
name
- is the filename in questionpublic 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(String path) throws BadFormException, RemoteException, VisADException
open
in class FormNode
path
- is the fully-qualified pathnameBadFormException
RemoteException
VisADException
public DataImpl open(URL url) throws BadFormException, VisADException, IOException
open
in class FormNode
url
- is the fully-formed URLBadFormException
VisADException
IOException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.