public class ZipCache extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ZipCache.disable_zip_cache |
(package private) static class |
ZipCache.Entry |
private static class |
ZipCache.remove_zip_cache_entry |
Modifier and Type | Field and Description |
---|---|
(package private) static SimpleDateFormat |
ASCTIME |
(package private) static boolean |
cacheEnabled |
private static Primitive |
DISABLE_ZIP_CACHE |
private static Primitive |
REMOVE_ZIP_CACHE_ENTRY |
(package private) static SimpleDateFormat |
RFC_1036 |
(package private) static SimpleDateFormat |
RFC_1123 |
(package private) static HashMap<URL,ZipCache.Entry> |
zipCache |
Constructor and Description |
---|
ZipCache() |
Modifier and Type | Method and Description |
---|---|
static void |
disable() |
private static ZipCache.Entry |
fetchURL(URL url,
boolean cached) |
static ZipFile |
get(Pathname p) |
static ZipFile |
get(URL url) |
static boolean |
remove(File f) |
static boolean |
remove(Pathname p) |
static boolean |
remove(URL url) |
static boolean cacheEnabled
private static final Primitive DISABLE_ZIP_CACHE
static HashMap<URL,ZipCache.Entry> zipCache
static final SimpleDateFormat ASCTIME
static final SimpleDateFormat RFC_1036
static final SimpleDateFormat RFC_1123
private static final Primitive REMOVE_ZIP_CACHE_ENTRY
public static void disable()
private static ZipCache.Entry fetchURL(URL url, boolean cached)
public static boolean remove(URL url)
public static boolean remove(Pathname p)
public static boolean remove(File f)