|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectau.com.lastweekend.jen.util.URLCache<T>
T - public class URLCache<T>
Cache URLs can where possible compare lastModified times.
| Nested Class Summary | |
|---|---|
class |
URLCache.CacheEntry
|
| Constructor Summary | |
|---|---|
URLCache()
|
|
| Method Summary | |
|---|---|
void |
clear()
|
T |
get(java.net.URL resource)
|
protected long |
lastModified(java.net.URL resource)
|
void |
put(java.net.URL resource,
T value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLCache()
| Method Detail |
|---|
public T get(java.net.URL resource)
public void put(java.net.URL resource,
T value)
protected long lastModified(java.net.URL resource)
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||