You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pi...@apache.org on 2002/09/17 22:19:29 UTC
cvs commit: xml-fop/src/org/apache/fop/image FopImageFactory.java
pietsch 2002/09/17 13:19:29
Modified: src/org/apache/fop/image Tag: fop-0_20_2-maintain
FopImageFactory.java
Log:
Added method to clear the image cache to FopImageFactory.
Revision Changes Path
No revision
No revision
1.25.2.4 +7 -1 xml-fop/src/org/apache/fop/image/Attic/FopImageFactory.java
Index: FopImageFactory.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/Attic/FopImageFactory.java,v
retrieving revision 1.25.2.3
retrieving revision 1.25.2.4
diff -u -r1.25.2.3 -r1.25.2.4
--- FopImageFactory.java 2 Aug 2002 20:28:51 -0000 1.25.2.3
+++ FopImageFactory.java 17 Sep 2002 20:19:29 -0000 1.25.2.4
@@ -197,5 +197,11 @@
return (FopImage)imageInstance;
}
+ /**
+ * Clear the image cache.
+ */
+ public static synchronized void resetCache() {
+ m_urlMap.clear();
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org