Class LinkExtractor


  • public class LinkExtractor
    extends java.lang.Object
    LinkExtractor extracts all the links from the given webpage and prints them on standard output.
    • Constructor Summary

      Constructors 
      Constructor Description
      LinkExtractor()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.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​(java.lang.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.