X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=crawler%2Fbasic%2Fsrc%2Forg%2Fwamblee%2Fcrawler%2Fimpl%2FApp.java;h=f9b9bd45eef23de75507357193d2b4d7c01f6d9f;hb=9584bb45a4731bbfccd810b586441d54ea660871;hp=90e66dfcca3e6a69f55d04dc088dd22a78347fb2;hpb=915f1b7c5af2b85372dc84d008e9a5c49428f0e9;p=utils diff --git a/crawler/basic/src/org/wamblee/crawler/impl/App.java b/crawler/basic/src/org/wamblee/crawler/impl/App.java index 90e66dfc..f9b9bd45 100644 --- a/crawler/basic/src/org/wamblee/crawler/impl/App.java +++ b/crawler/basic/src/org/wamblee/crawler/impl/App.java @@ -5,14 +5,13 @@ import java.io.FileInputStream; import java.io.InputStream; import org.apache.commons.httpclient.HttpClient; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import org.dom4j.Element; import org.wamblee.crawler.Action; import org.wamblee.crawler.Configuration; import org.wamblee.crawler.Crawler; import org.wamblee.crawler.Page; import org.wamblee.crawler.PageException; +import org.wamblee.xml.XslTransformer; /* * Copyright 2005 the original author or authors. @@ -31,7 +30,7 @@ import org.wamblee.crawler.PageException; */ /** - * Entry point for the crawler. + * Test application which uses the crawler. */ public final class App { @@ -56,7 +55,7 @@ public final class App { String configFileName = aArgs[0]; String starturl = aArgs[1]; - ConfigurationParser parser = new ConfigurationParser(); + ConfigurationParser parser = new ConfigurationParser(new XslTransformer()); InputStream configFile = new FileInputStream(new File(configFileName)); Configuration config = parser.parse(configFile);