com.ftpix.sherdogparser.parsers.SherdogParser Maven / Gradle / Ivy
package com.ftpix.sherdogparser.parsers;
import java.io.IOException;
import java.text.ParseException;
/**
* Created by gz on 20-Aug-16.
* teh default interface for a shergod parser
*/
public interface SherdogParser {
/**
* Parse a sherdog page
*
* @param url of the sherdog page
* @return the object parsed by the parser
* @throws IOException if connecting to sherdog fails
* @throws ParseException if the page structure has changed
*/
public T parse(String url) throws IOException, ParseException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy