HTML Parser Home Page

org.htmlparser.parserapplications
Class WikiCapturer

java.lang.Object
  extended byorg.htmlparser.parserapplications.SiteCapturer
      extended byorg.htmlparser.parserapplications.WikiCapturer

public class WikiCapturer
extends SiteCapturer

Save a wikiwikiweb locally. Illustrative program to save a wiki locally.


Field Summary
 
Fields inherited from class org.htmlparser.parserapplications.SiteCapturer
mCaptureResources, mCopied, mFilter, mFinished, mImages, mPages, mParser, mSource, mTarget, TRANSFER_SIZE
 
Constructor Summary
WikiCapturer()
          Create a wikicapturer.
 
Method Summary
static void main(String[] args)
          Mainline to capture a web site locally.
 
Methods inherited from class org.htmlparser.parserapplications.SiteCapturer
capture, copy, getCaptureResources, getFilter, getSource, getTarget, isHtml, isToBeCaptured, makeLocalLink, process, setCaptureResources, setFilter, setSource, setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiCapturer

public WikiCapturer()
Create a wikicapturer.

Method Detail

main

public static void main(String[] args)
                 throws MalformedURLException,
                        IOException
Mainline to capture a web site locally.

Parameters:
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.
Throws:
MalformedURLException
IOException

© 2004 Somik Raha
Mar 14, 2004

HTML Parser is an open source library released under LGPL.
SourceForge.net