public class WebPageFileCache
extends java.lang.Object
| Constructor and Description |
|---|
WebPageFileCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Remove all stored cached files
|
com.gargoylesoftware.htmlunit.html.HtmlPage |
handle(com.gargoylesoftware.htmlunit.WebClient webClient,
java.lang.String url) |
public com.gargoylesoftware.htmlunit.html.HtmlPage handle(com.gargoylesoftware.htmlunit.WebClient webClient,
java.lang.String url)
throws java.io.IOException
java.io.IOExceptionpublic void clear()
throws java.io.IOException
java.io.IOException - in case deletion is unsuccessfuljava.lang.IllegalArgumentException - if directory does not exist or is not a directory