|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.data.FormNode
visad.data.Form
visad.data.gis.ArcAsciiGridForm
public class ArcAsciiGridForm
ArcAsciiGridForm is the ARC/INFO ASCIIGRID data format adapter for serialized visad.Data objects. See http://www.climatesource.com/format/arc_asciigrid.html for more info
| Constructor Summary | |
|---|---|
ArcAsciiGridForm()
Construct a Form for reading in ARC/INFO ASCIIGRID files |
|
ArcAsciiGridForm(MathType dataType)
Construct a Form for reading in Arc/Info ASCIIGRID files |
|
| Method Summary | |
|---|---|
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 |
| 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 ArcAsciiGridForm()
public ArcAsciiGridForm(MathType dataType)
| Method Detail |
|---|
public boolean isThisType(String name)
isThisType in interface FormFileInformername - name of the file
public boolean isThisType(byte[] block)
isThisType in interface FormFileInformerblock - block of data to check
public String[] getDefaultSuffixes()
getDefaultSuffixes in interface FormFileInformer
public void save(String id,
Data data,
boolean replace)
throws BadFormException,
IOException,
RemoteException,
VisADException
save in class FormNodeUnimplementedException - - can't be done yet.
BadFormException
IOException
RemoteException
VisADException
public void add(String id,
Data data,
boolean replace)
throws BadFormException
add in class FormNodeBadFormException
public DataImpl open(String id)
throws BadFormException,
VisADException
open in class FormNodeid - string representing the path to the file
BadFormException
VisADException
public DataImpl open(URL url)
throws BadFormException,
VisADException,
IOException
open in class FormNodeurl - URL of the remote map file
BadFormException
VisADException
IOExceptionpublic FormNode getForms(Data data)
getForms in class FormNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||