Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for UrlConvertHelper (0.11 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java

    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    
    /**
     * @author shinsuke
     *
     */
    public class UrlConvertHelper {
    
        protected Map<String, String> convertMap = new LinkedHashMap<>();
    
        public String convert(final String url) {
            if (url == null) {
                return null;
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/UrlConvertHelperTest.java

    public class UrlConvertHelperTest extends PlainTestCase {
    
        public UrlConvertHelper urlConvertHelper;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("urlConvertHelper", UrlConvertHelper.class);
            urlConvertHelper = container.getComponent("urlConvertHelper");
        }
    
        public void test_convert() {
            String url;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            if (redirectUrlObj instanceof String) {
                final UrlConvertHelper urlConvertHelper = crawlerContainer.getComponent("urlConvertHelper");
                resultData.addUrl(RequestDataBuilder.newRequestData().get().url(urlConvertHelper.convert(redirectUrlObj.toString())).build());
            }
    
            return resultData;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    .prototype("dataService", DataServiceImpl.class).prototype("urlFilter", UrlFilterImpl.class)
                    .singleton("urlConvertHelper", UrlConvertHelper.class).singleton("intervalController", DefaultIntervalController.class)
                    .singleton("sitemapsHelper", SitemapsHelper.class).singleton("logHelper", LogHelperImpl.class)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top