|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Title:
Description: A cache for the OCL. This is responsible for caching jar files that have been loaded over the network to a directory on the local disk so that next time an object is created or executed that requires the remote jar, the local cached copy will be used instead of re-downloading the jar file.
Copyright: Copyright (c) 2005
Company: Mindswap (http://www.mindswap.org)
| Method Summary | |
void |
cache(java.net.URL theURL)
Adds a new value at the specified url to the cache |
java.net.URL |
getLocalURL(java.net.URL theURL)
Returns the local url of a cached remote url |
boolean |
hasFile(java.net.URL theURL)
Checks to see if the file with the given remote url exists in the cache |
| Method Detail |
public boolean hasFile(java.net.URL theURL)
theURL - URL the url to search for
public java.net.URL getLocalURL(java.net.URL theURL)
theURL - URL the remote url
public void cache(java.net.URL theURL)
theURL - URL the remote url to cache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||