public class ArcAsciiGridForm extends Form implements FormFileInformer
Constructor and Description |
---|
ArcAsciiGridForm()
Construct a Form for reading in ARC/INFO ASCIIGRID files
|
ArcAsciiGridForm(MathType dataType)
Construct a Form for reading in Arc/Info ASCIIGRID files
|
Modifier and Type | Method and Description |
---|---|
void |
add(String id,
Data data,
boolean replace)
Add data to an existing data object
|
String[] |
getDefaultSuffixes()
Get a list of default suffixes for McIDAS map files
|
FormNode |
getForms(Data data)
Return the data forms that are compatible with a data object
|
boolean |
isThisType(byte[] block)
Determines if this is a ARC/INFO ASCIIGRID file from the starting block
|
boolean |
isThisType(String name)
Determines if this is a ARC/INFO ASCIIGRID file from the name
|
DataImpl |
open(String id)
Open the file specified by the string
|
DataImpl |
open(URL url)
Open the file specified by the URL
|
void |
save(String id,
Data data,
boolean replace)
Save a VisAD data object in this form
|
getMathType
public ArcAsciiGridForm()
public ArcAsciiGridForm(MathType dataType)
public boolean isThisType(String name)
isThisType
in interface FormFileInformer
name
- name of the filepublic boolean isThisType(byte[] block)
isThisType
in interface FormFileInformer
block
- block of data to checkpublic String[] getDefaultSuffixes()
getDefaultSuffixes
in interface FormFileInformer
public void save(String id, Data data, boolean replace) throws BadFormException, IOException, RemoteException, VisADException
save
in class FormNode
UnimplementedException
- - can't be done yet.BadFormException
IOException
RemoteException
VisADException
public void add(String id, Data data, boolean replace) throws BadFormException
add
in class FormNode
BadFormException
public DataImpl open(String id) throws BadFormException, VisADException
open
in class FormNode
id
- string representing the path to the fileBadFormException
VisADException
public DataImpl open(URL url) throws BadFormException, VisADException, IOException
open
in class FormNode
url
- URL of the remote map fileBadFormException
VisADException
IOException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.