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

com.saucesubfresh.starter.crawler.parser.Selector Maven / Gradle / Ivy

package com.saucesubfresh.starter.crawler.parser;

import java.util.List;

/**
 * @author lijunping on 2022/4/18
 */
public interface Selector {

    /**
     * Extract single result in text.
* If there are more than one result, only the first will be chosen. * * @param text text * @return result */ String select(String text); /** * Extract all results in text.
* * @param text text * @return results */ List selectList(String text); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy