HTML Parser Home Page

org.htmlparser.parserapplications
Class LinkExtractor

java.lang.Object
  extended by org.htmlparser.parserapplications.LinkExtractor

public class LinkExtractor
extends Object

LinkExtractor extracts all the links from the given webpage and prints them on standard output.


Constructor Summary
LinkExtractor()
           
 
Method Summary
static void main(String[] args)
          Run the link extractor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkExtractor

public LinkExtractor()
Method Detail

main

public static void main(String[] args)
Run the link extractor.

Parameters:
args - [0] Optional url to extract links from. An input dialog is displayed if it is not supplied.

© 2005 Derrick Oswald
Jun 10, 2006

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