Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for Bratch (0.21 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

                } catch (final Exception e) {
                    logger.warn("Failed to add exclude_urls on " + sessionId, e);
                }
                cachedExcludeSet.clear();
            }
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.filter.UrlFilter#match(java.lang.String)
         */
        @Override
        public boolean match(final String url) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

                    creator.register(this);
                }
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("CrawlerClientCreator is unavailable.", e);
                }
            }
        }
    
        /**
         * Adds a client with a regular expression pattern.
         * @param regex The regular expression to match URLs.
         * @param client The CrawlerClient instance.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java

         */
        @Override
        public boolean match(final ResponseData responseData) {
            if (super.match(responseData)) {
                try (final InputStream is = responseData.getResponseBody()) {
                    final SitemapsHelper sitemapsHelper = crawlerContainer.getComponent("sitemapsHelper");
                    return sitemapsHelper.isValid(is);
                } catch (final CrawlingAccessException e) {
                    throw e;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

     *   <li>Dynamic passwords provided through extraction parameters</li>
     * </ul>
     *
     * <p>Passwords are matched against URLs or resource names using regular expression patterns.
     * The extractor first tries to match against the URL, then falls back to the resource name if available.
     *
     * @author shinsuke
     */
    public abstract class PasswordBasedExtractor extends AbstractExtractor {
    
        /** Logger instance for this class. */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

            }
        }
    
        /**
         * Registers a client component with a regular expression.
         * The component will be loaded into all registered CrawlerClientFactories.
         * @param regex The regular expression to match URLs.
         * @param componentName The name of the component to register.
         */
        public synchronized void register(final String regex, final String componentName) {
            clientMap.put(regex, componentName);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java

            regexRule.addRule("mimeType", Pattern.compile("text/html"));
    
            assertTrue(regexRule.match(getTestData1()));
            assertTrue(regexRule.match(getTestData2()));
            assertTrue(regexRule.match(getTestData3()));
            assertTrue(regexRule.match(getTestData4()));
        }
    
        public void test_match_url() {
            final RegexRule regexRule = new RegexRule();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                return robotsTxt;
            } catch (final Exception e) {
                throw new RobotsTxtException("Failed to parse robots.txt.", e);
            }
        }
    
        /**
         * Extracts the value from a line using the given pattern.
         * @param pattern the pattern to match against
         * @param line the line to extract the value from
         * @return the extracted value, or null if no match
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

            final String sessionId = "id1";
            urlFilter.init(sessionId);
    
            assertTrue(urlFilter.match("http://example.com/"));
            assertTrue(urlFilter.match("http://example.com/a"));
            assertFalse(urlFilter.match("http://test.com/"));
            assertFalse(urlFilter.match("http://test.com/a"));
    
        }
    
        public void test_match_include_case2() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

         * Returns whether all regular expressions must match for this rule to match.
         * @return true if all patterns must match, false if only one needs to match
         */
        public boolean isAllRequired() {
            return allRequired;
        }
    
        /**
         * Sets whether all regular expressions must match for this rule to match.
         * @param allRequired true if all patterns must match, false if only one needs to match
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

                        Thread.sleep(2000);
                    } catch (InterruptedException e) {
                        throw new CrawlingAccessException(e);
                    }
                    return null;
                }
            };
            client.setAccessTimeout(1);
            try {
                client.doGet("smb1://localhost/test.txt");
                fail();
            } catch (CrawlingAccessException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top