]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added method to clear the image cache to FopImageFactory.
authorJoerg Pietschmann <pietsch@apache.org>
Tue, 17 Sep 2002 20:19:29 +0000 (20:19 +0000)
committerJoerg Pietschmann <pietsch@apache.org>
Tue, 17 Sep 2002 20:19:29 +0000 (20:19 +0000)
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

index b2f105dc885dfd28253ab6b15ea49f5a417bcfb3..00eaa943efda999290f270d7a0bf0be91ba112ae 100644 (file)
@@ -197,5 +197,11 @@ public class FopImageFactory {
         return (FopImage)imageInstance;
     }
 
+    /**
+     * Clear the image cache.
+     */
+    public static synchronized void resetCache() {
+        m_urlMap.clear();
+    }
 }