All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.whimtrip.ext.jwhtscrapper.impl.ScrapperHtmlAdapterFactory Maven / Gradle / Ivy

The newest version!
package fr.whimtrip.ext.jwhtscrapper.impl;

import fr.whimtrip.ext.jwhthtmltopojo.HtmlToPojoEngine;
import fr.whimtrip.ext.jwhthtmltopojo.adapter.DefaultHtmlAdapterImpl;
import fr.whimtrip.ext.jwhthtmltopojo.intrf.HtmlAdapter;
import fr.whimtrip.ext.jwhthtmltopojo.intrf.HtmlAdapterFactory;
import fr.whimtrip.ext.jwhtscrapper.service.scoped.ScrapperHtmlAdapter;

/**
 * 

Part of project jwht-scrapper

*

Created on 26/07/18

* *

* {@link HtmlAdapterFactory} implementation that will instanciate * {@link ScrapperHtmlAdapter} instead of default {@link DefaultHtmlAdapterImpl}. * This will allow the implementation of many surrounding features. *

* * @see ScrapperHtmlAdapter * @author Louis-wht * @since 1.0.0 */ public class ScrapperHtmlAdapterFactory implements HtmlAdapterFactory { @Override public HtmlAdapter instanciateAdapter(HtmlToPojoEngine htmlToPojoEngine, Class tClass) { return new ScrapperHtmlAdapter<>(htmlToPojoEngine, tClass); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy