Package crawler

Examples of crawler.Crawler


     */
    public Crawler getCrawler(String crawlerId)
    {
        for (int i = 0; i < crawlers.size(); i++)
        {
            Crawler crawler = crawlers.get(i);
            String id = crawler.getCrawlerId();
            if (crawlerId.equals(id))
            {
                Crawler newCrawler = componentContext.getService(Crawler.class, "crawlers");
                return newCrawler;
            }
        }
        throw new RuntimeException("No crawler with id " + crawlerId + " found");
    }
View Full Code Here

TOP

Related Classes of crawler.Crawler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.