public class CachedImage
extends java.lang.Object
Constructor and Description |
---|
CachedImage()
create an empty cache.
|
CachedImage(java.lang.String id,
java.lang.String url)
create a instance of cached image.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getID()
get the id of the image.
|
java.lang.String |
getImageMap()
get the image map of the image.
|
ImageSize |
getImageSize()
get the image size
|
java.lang.String |
getMIMEType()
get the mime type of the image.
|
java.lang.String |
getURL()
get the URL of the cached image.
|
void |
setID(java.lang.String id)
set the id of the cached image.
|
void |
setImageMap(java.lang.String imageMap)
set the image map of the image.
|
void |
setImageSize(ImageSize size)
set the image size
|
void |
setMIMEType(java.lang.String mimeType)
set the mime type of the image.
|
void |
setURL(java.lang.String url)
set the image URL.
|
public CachedImage()
public CachedImage(java.lang.String id, java.lang.String url)
id
- id of the image.url
- url of the imagepublic void setID(java.lang.String id)
id
- id of the image.public java.lang.String getID()
public java.lang.String getURL()
public void setURL(java.lang.String url)
url
- url which refer to the imagepublic java.lang.String getImageMap()
public void setImageMap(java.lang.String imageMap)
imageMap
- image map in HTML format.public java.lang.String getMIMEType()
public void setMIMEType(java.lang.String mimeType)
mimeType
- the mime type of the imagepublic ImageSize getImageSize()
public void setImageSize(ImageSize size)
Copyright © 2014 OpenText Corp. All rights reserved.