X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=crawler%2Fkiss%2Fsrc%2Forg%2Fwamblee%2Fcrawler%2Fkiss%2Fnotification%2FMailNotifier.java;h=8d2ccf97422186687ff2bcac47deccbca941c359;hb=7d9422423b0e0085f761d080ad8a3a494b90f3b2;hp=536135b28508288f65f42bf82f3ea3089584d66c;hpb=951167e3811e07ba8c8c02226fe08a8bca6acc3f;p=utils diff --git a/crawler/kiss/src/org/wamblee/crawler/kiss/notification/MailNotifier.java b/crawler/kiss/src/org/wamblee/crawler/kiss/notification/MailNotifier.java index 536135b2..8d2ccf97 100644 --- a/crawler/kiss/src/org/wamblee/crawler/kiss/notification/MailNotifier.java +++ b/crawler/kiss/src/org/wamblee/crawler/kiss/notification/MailNotifier.java @@ -16,7 +16,7 @@ import org.apache.commons.mail.EmailException; import org.apache.commons.mail.HtmlEmail; import org.dom4j.Element; import org.wamblee.xml.ClasspathUriResolver; -import org.wamblee.xml.XSLT; +import org.wamblee.xml.XslTransformer; /** * A notifier that uses SMTP to notify users by mail. @@ -112,7 +112,7 @@ public class MailNotifier implements Notifier { private String transformReport(Element aReport, String aXslt) throws IOException, TransformerException { String reportXmlText = aReport.asXML(); - XSLT xsltProcessor = new XSLT(new ClasspathUriResolver()); + XslTransformer xsltProcessor = new XslTransformer(new ClasspathUriResolver()); return xsltProcessor.textTransform(reportXmlText.getBytes(), xsltProcessor.resolve(aXslt)); } }