Package com.ftpix.webwatcher.interfaces
Interface WebSiteListener<T extends WebSite>
-
public interface WebSiteListener<T extends WebSite>
-
-
Method Summary
Modifier and Type Method Description void
onContentChange(T site, List<String> newContent, String pageNewHtml)
-
-
-
Method Detail
-
onContentChange
void onContentChange(T site, List<String> newContent, String pageNewHtml)
- Parameters:
site
- the website being checked, the with its last content hashnewContent
- the list new plain html content, this is a list because a css selector can match to more than one element if the site has no css selector, the first item will be the same as pageNewHtmlpageNewHtml
- the HTML of the content of the page
-
-