Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.htmlparser.parserapplications
Class Robot  view Robot download Robot.java

java.lang.Object
  extended byorg.htmlparser.parserapplications.Robot

public class Robot
extends java.lang.Object

The Robot Crawler application will crawl through urls recursively, based on a depth value.


Field Summary
private  org.htmlparser.Parser parser
           
 
Constructor Summary
Robot(java.lang.String resourceLocation)
          Robot crawler - Provide the starting url
 
Method Summary
 void crawl(int crawlDepth)
          Crawl using a given crawl depth.
 void crawl(org.htmlparser.Parser parser, int crawlDepth)
          Crawl using a given parser object, and a given crawl depth.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parser

private org.htmlparser.Parser parser
Constructor Detail

Robot

public Robot(java.lang.String resourceLocation)
Robot crawler - Provide the starting url

Method Detail

crawl

public void crawl(int crawlDepth)
           throws org.htmlparser.util.ParserException
Crawl using a given crawl depth.


crawl

public void crawl(org.htmlparser.Parser parser,
                  int crawlDepth)
           throws org.htmlparser.util.ParserException
Crawl using a given parser object, and a given crawl depth.


main

public static void main(java.lang.String[] args)