visad.data.gif
Class GIFAdapter
- java.lang.Object
-
- visad.data.gif.GIFAdapter
-
public class GIFAdapter extends java.lang.Objectthis is an adapter for GIF and other images
-
-
Constructor Summary
Constructors Constructor and Description GIFAdapter(java.lang.String filename)Create a VisAD FlatField from a local GIF, JPEG or PNG fileGIFAdapter(java.net.URL url)Create a VisAD FlatField from a GIF, JPEG or PNG on the Web.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description FlatFieldgetData()
-
-
-
Constructor Detail
-
GIFAdapter
public GIFAdapter(java.lang.String filename) throws java.io.IOException, VisADExceptionCreate a VisAD FlatField from a local GIF, JPEG or PNG file- Parameters:
filename- name of local file.- Throws:
java.io.IOException- if there was a problem reading the file.VisADException- if an unexpected problem occurs.
-
GIFAdapter
public GIFAdapter(java.net.URL url) throws java.io.IOException, VisADExceptionCreate a VisAD FlatField from a GIF, JPEG or PNG on the Web.- Parameters:
url- File URL.- Throws:
java.io.IOException- if there was a problem reading the file.VisADException- if an unexpected problem occurs.
-
-
Method Detail
-
getData
public FlatField getData()
-
-
DMelt 3.0 © DataMelt by jWork.ORG