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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- 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-2010 The Apache Software Foundation. All Rights Reserved.