public interface Cache
Modifier and Type | Method and Description |
---|---|
String |
get(String url)
Retrieves and returns the HTML/XML source content for the specified url from the cache or returns null if the cache has no content for the specified url.
|
void |
put(String url,
String content)
Stores the specified HTML/XML source content retrieved from the specified url into the cache, or does nothing if the specified content is null.
|
void put(String url, String content) throws CacheException
CacheException
String get(String url) throws CacheException
CacheException