2019-01-09 17:57:37 +03:00
|
|
|
package ru.bvn13.imdbspider.spider.processor;
|
|
|
|
|
2019-01-10 18:14:57 +03:00
|
|
|
import org.jsoup.select.Elements;
|
2019-01-09 17:57:37 +03:00
|
|
|
import ru.bvn13.imdbspider.exceptions.processor.HtmlProcessorException;
|
|
|
|
|
|
|
|
/**
|
2019-01-10 18:14:57 +03:00
|
|
|
* @author boyko_vn at 10.01.2019
|
2019-01-09 17:57:37 +03:00
|
|
|
*/
|
2019-01-10 18:14:57 +03:00
|
|
|
public interface HtmlProcessor {
|
2019-01-09 17:57:37 +03:00
|
|
|
|
2019-01-10 18:14:57 +03:00
|
|
|
Elements process(final String html, final String pattern) throws HtmlProcessorException;
|
2019-01-09 17:57:37 +03:00
|
|
|
|
|
|
|
}
|