public class ImageDatasetFactory extends Object
| Constructor and Description |
|---|
ImageDatasetFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessages() |
BufferedImage |
getNextImage(boolean forward)
This assumes you have opened a file.
|
BufferedImage |
open(String location)
Open from a URL:
adde: use AddeImage.factory()
http: use javax.imageio.ImageIO.read()
file: javax.imageio.ImageIO.read()
|
BufferedImage |
openDataset(ucar.nc2.dt.GridDatatype grid) |
public String getErrorMessages()
public BufferedImage openDataset(ucar.nc2.dt.GridDatatype grid) throws IOException
IOExceptionpublic BufferedImage open(String location) throws IOException
location - open from this locationIOException - on read errorpublic BufferedImage getNextImage(boolean forward)
forward - if true got to next, else previous