public class SimpleImageRetriever extends java.lang.Object implements ImageRetriever
| Constructor and Description |
|---|
SimpleImageRetriever() |
| Modifier and Type | Method and Description |
|---|---|
java.io.ByteArrayInputStream |
get(java.net.URI uri,
int frame,
boolean thumbnail)
Obtain an image by URI.
|
public SimpleImageRetriever()
public java.io.ByteArrayInputStream get(java.net.URI uri, int frame, boolean thumbnail) throws java.io.IOException
ImageRetrieverget in interface ImageRetrieveruri - the URI to the imageframe - the frame numberthumbnail - whether to retrieve a thumbnail (true) or the image in its original size (false)java.io.IOException