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(GridDatatype grid) |
public String getErrorMessages()
public BufferedImage openDataset(GridDatatype grid) throws IOException
IOException
public 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 previousCopyright © 1999–2017 UCAR/Unidata. All rights reserved.