org.armedbear.lisp
Class ZipCache
java.lang.Object
org.armedbear.lisp.ZipCache
public class ZipCache
- extends java.lang.Object
A cache for all zip/jar file accesses by URL that uses the last
modified time of the cached resource.
This implementation is NOT thread safe, although usage without
multiple threads recompiling code that is then re-loaded should be
fine.
If you run into problems with caching, use
(SYS::DISABLE-ZIP-CACHE). Once disabled, the caching cannot be
re-enabled.
Method Summary |
static void |
disable()
|
static java.util.zip.ZipFile |
get(Pathname p)
|
static java.util.zip.ZipFile |
get(java.net.URL url)
|
static boolean |
remove(java.io.File f)
|
static boolean |
remove(Pathname p)
|
static boolean |
remove(java.net.URL url)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipCache
public ZipCache()
disable
public static void disable()
get
public static java.util.zip.ZipFile get(Pathname p)
get
public static java.util.zip.ZipFile get(java.net.URL url)
remove
public static boolean remove(java.net.URL url)
remove
public static boolean remove(Pathname p)
remove
public static boolean remove(java.io.File f)