org.htmlparser.parserapplications

Class LinkExtractor

public class LinkExtractor extends Object

LinkExtractor extracts all the links from the given webpage and prints them on standard output.
Method Summary
static voidmain(String[] args)
Run the link extractor.

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.

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