Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isValidUrl (0.1 sec)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertTrue(transformer.isValidUrl("http://www.example.com"));
            assertTrue(transformer.isValidUrl("http://www.example.com/aaa"));
            assertTrue(transformer.isValidUrl("https://www.example.com"));
            assertTrue(transformer.isValidUrl("://www.example.com"));
            assertTrue(transformer.isValidUrl("//www.example.com"));
    
            assertFalse(transformer.isValidUrl(null));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(responseData.getSessionId());
            return crawlingConfig.getConfigParameterMap(config);
        }
    
        protected boolean isValidUrl(final String urlStr) {
            if (StringUtil.isBlank(urlStr)) {
                return false;
            }
            final String value;
            if (urlStr.startsWith("://")) {
                value = "http" + urlStr;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top