*/
package org.wamblee.crawler.kiss.notification;
+import java.io.IOException;
+
+import javax.xml.transform.TransformerException;
+
import org.dom4j.Element;
/**
* Report to send.
*/
void send(Element aReport) throws NotificationException;
+
+ /**
+ * Converts the report to html.
+ * @param aReport Report to convert.
+ * @return
+ */
+ String asHtml(Element aReport) throws IOException, TransformerException;
+
+ /**
+ * Converts the report to text.
+ * @param aReport Report to convert.
+ * @return
+ */
+ String asText(Element aReport) throws IOException, TransformerException;
}