public class F2000Form extends Form implements FormFileInformer
Constructor and Description |
---|
F2000Form() |
Modifier and Type | Method and Description |
---|---|
void |
add(String id,
Data data,
boolean replace)
Add data to an existing data object.
|
String[] |
getDefaultSuffixes()
Get default suffixes for files/URLs handeled by this form.
|
FormNode |
getForms(Data data)
Return the data forms that are compatible with a data object.
|
double |
getXMax() |
double |
getXMin() |
double |
getYMax() |
double |
getYMin() |
double |
getZMax() |
double |
getZMin() |
boolean |
isThisType(byte[] block)
Check to see if the block contains the magic number for this form.
|
boolean |
isThisType(String name)
Check to see if the file name might be right for this form.
|
DataImpl |
open(String id)
Open an existing data object.
|
DataImpl |
open(URL url)
Open a data object specified as a URL.
|
void |
save(String id,
Data data,
boolean replace)
Save a VisAD data object in this form.
|
getMathType
public void add(String id, Data data, boolean replace) throws BadFormException
FormNode
add
in class FormNode
BadFormException
public String[] getDefaultSuffixes()
FormFileInformer
getDefaultSuffixes
in interface FormFileInformer
public FormNode getForms(Data data)
FormNode
public final double getXMax()
public final double getXMin()
public final double getYMax()
public final double getYMin()
public final double getZMax()
public final double getZMin()
public boolean isThisType(String name)
FormFileInformer
isThisType
in interface FormFileInformer
name
- name of the filepublic boolean isThisType(byte[] block)
FormFileInformer
isThisType
in interface FormFileInformer
block
- block of bytes from filepublic DataImpl open(String id) throws BadFormException, IOException, VisADException
FormNode
open
in class FormNode
BadFormException
IOException
VisADException
public DataImpl open(URL url) throws BadFormException, VisADException, IOException
FormNode
open
in class FormNode
BadFormException
VisADException
IOException
public void save(String id, Data data, boolean replace) throws BadFormException, IOException, RemoteException, VisADException
FormNode
save
in class FormNode
BadFormException
IOException
RemoteException
VisADException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.