public class ZebraAsciiMapAdapter
extends java.lang.Object
Constructor and Description |
---|
ZebraAsciiMapAdapter(java.io.InputStream is)
Construct the adapter from an input stream
|
ZebraAsciiMapAdapter(java.lang.String filename)
Construct the adapter from the filename specification.
|
ZebraAsciiMapAdapter(java.net.URL url)
Construct the adapter from the URL location
|
Modifier and Type | Method and Description |
---|---|
visad.UnionSet |
getData()
Get the Data object.
|
static void |
main(java.lang.String[] args)
Test by running java ucar.visad.ZebraAsciiMapAdapter
|
public ZebraAsciiMapAdapter(java.lang.String filename) throws java.io.IOException, visad.VisADException
filename
- path to filevisad.VisADException
- couldn't create the data objectjava.io.IOException
- problem reading in filepublic ZebraAsciiMapAdapter(java.net.URL url) throws java.io.IOException, visad.VisADException
url
- URL path to filevisad.VisADException
- couldn't create the data objectjava.io.IOException
- problem reading in filepublic ZebraAsciiMapAdapter(java.io.InputStream is) throws java.io.IOException, visad.VisADException
is
- InputStream for the datavisad.VisADException
- couldn't create the data objectjava.io.IOException
- problem reading in filepublic visad.UnionSet getData() throws visad.VisADException
visad.VisADException
- can't create the VisAD data objectspublic static void main(java.lang.String[] args) throws java.lang.Exception
args
- mapfile locations (filenamesjava.lang.Exception
- if there is a problem