public class WikiCapturer extends SiteCapturer
构造器和说明 |
---|
WikiCapturer()
Create a wikicapturer.
|
限定符和类型 | 方法和说明 |
---|---|
static void |
main(java.lang.String[] args)
Mainline to capture a web site locally.
|
capture, getCaptureResources, getFilter, getSource, getTarget, setCaptureResources, setFilter, setSource, setTarget
public static void main(java.lang.String[] args) throws java.net.MalformedURLException, java.io.IOException
args
- The command line arguments.
There are three arguments the web site to capture, the local directory
to save it to, and a flag (true or false) to indicate whether resources
such as images and video are to be captured as well.
These are requested via dialog boxes if not supplied.java.net.MalformedURLException
- If the supplied URL is invalid.java.io.IOException
- If an error occurs reading the pages or resources.