From 90c4cd20192f4ad53848f973ae9912671584e960 Mon Sep 17 00:00:00 2001 From: Joerg Pietschmann Date: Tue, 17 Sep 2002 20:19:29 +0000 Subject: [PATCH] Added method to clear the image cache to FopImageFactory. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195207 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/image/FopImageFactory.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/org/apache/fop/image/FopImageFactory.java b/src/org/apache/fop/image/FopImageFactory.java index b2f105dc8..00eaa943e 100644 --- a/src/org/apache/fop/image/FopImageFactory.java +++ b/src/org/apache/fop/image/FopImageFactory.java @@ -197,5 +197,11 @@ public class FopImageFactory { return (FopImage)imageInstance; } + /** + * Clear the image cache. + */ + public static synchronized void resetCache() { + m_urlMap.clear(); + } } -- 2.39.5