| java.lang.Object com.torunski.crawler.model.MaxDepthModel
MaxDepthModel | public class MaxDepthModel implements ICrawlerModel(Code) | | Simple graph model parser without registrating in and outcoming links.
It stops to a maximum depth.
author: Lars Torunski version: $Revision: 1.11 $ |
DEFAULT_MAX_DEPTH | final public static int DEFAULT_MAX_DEPTH(Code) | | The default depth
|
MaxDepthModel | public MaxDepthModel()(Code) | | Constructor for Crawler.
|
MaxDepthModel | public MaxDepthModel(int depth)(Code) | | Constructor for Crawler.
Parameters: depth - the max depth. |
createLink | public LinkDepth createLink(String originUri, String uri, int depth)(Code) | | Creates a new link based on the orginUri and uri parameter.
Parameters: originUri - the origin URI of the link Parameters: uri - the new URI Parameters: depth - the depth of the link |
|
|