|
fop 0.91beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.fop.image.ImageFactory
Create FopImage objects (with a configuration file - not yet implemented).
Field Summary | |
protected static org.apache.commons.logging.Log |
log
logging instance |
Method Summary | |
void |
clearCaches()
Forces all the image caches to be cleared. |
FopImage |
getImage(java.lang.String url,
FOUserAgent context)
Get the image from the cache or load. |
static ImageFactory |
getInstance()
Get static image factory instance. |
static java.lang.String |
getURL(java.lang.String href)
Get the url string from a wrapped url. |
FopImage |
loadImage(java.lang.String href,
FOUserAgent ua)
Create an FopImage objects. |
void |
releaseImage(java.lang.String url,
FOUserAgent context)
Release an image from the cache. |
void |
removeContext(FOUserAgent context)
Release the context and all images in the context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.commons.logging.Log log
Method Detail |
public static ImageFactory getInstance()
public static java.lang.String getURL(java.lang.String href)
href
- the input wrapped urlpublic FopImage getImage(java.lang.String url, FOUserAgent context)
url
- the url for the imagecontext
- the user agent contextpublic void releaseImage(java.lang.String url, FOUserAgent context)
url
- the url for the imagecontext
- the user agent contextpublic void removeContext(FOUserAgent context)
context
- the context to removepublic FopImage loadImage(java.lang.String href, FOUserAgent ua)
href
- the url for the imageua
- the user agent contextpublic void clearCaches()
|
fop 0.91beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |