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.
*/
/**
- * Entry point for the crawler.
+ * Test application which uses the crawler.
*/
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);