org.apache.cocoon.bean.helpers
Class Crawler
java.lang.Object
org.apache.cocoon.bean.helpers.Crawler
public class Crawler
- extends Object
A simple Cocoon crawler
- Version:
- CVS $Id: Crawler.java 433543 2006-08-22 06:22:54Z crossley $
- Author:
- Upayavira
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Crawler
public Crawler()
addTarget
public boolean addTarget(Target target)
- Add a target for future processing
getRemainingCount
public int getRemainingCount()
- Returns the number of targets for processing
getProcessedCount
public int getProcessedCount()
getTranslatedCount
public int getTranslatedCount()
addTranslatedLink
public void addTranslatedLink(Target target)
throws ProcessingException
- Throws:
ProcessingException
hasTranslatedLink
public boolean hasTranslatedLink(Target link)
getTranslatedLink
public Target getTranslatedLink(Target link)
iterator
public Crawler.CrawlingIterator iterator()
- Returns an iterator for reading targets
Copyright ? 1999-2007 The Apache Software Foundation. All Rights Reserved.