|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 |
Constructor Summary | |
ImageFactory()
Main constructor for the ImageFactory. |
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 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
Constructor Detail |
public ImageFactory()
Method Detail |
public static java.lang.String getURL(java.lang.String href)
href
- the input wrapped url
public FopImage getImage(java.lang.String url, FOUserAgent context)
url
- the url for the imagecontext
- the user agent context
public 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 context
public void clearCaches()
|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |