T
- the type of the image used in the implementers.
In desktop/swing implementation BufferedImage(java.awt.Image)
is used.public interface ImageLoaderService<T>
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clears the images cache.
|
T |
getImage(ImageID imageID)
Loads an image from a given image identifier.
|
byte[] |
getImageBytes(ImageID imageID)
Loads an image from a given image identifier and return
bytes of the image.
|
T getImage(ImageID imageID)
imageID
- The identifier of the image.byte[] getImageBytes(ImageID imageID)
imageID
- The identifier of the image.void clearCache()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.