Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fileRule (0.32 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java

            RegexRule fileRule = container.getComponent("fileRule");
            fileRule.setRuleId("fileRule");
            fileRule.setDefaultRule(true);
            ruleManager.addRule(fileRule);
        }
    
        public void test_getRule() {
            final Rule rule = ruleManager.getRule(new ResponseData());
            assertNotNull(rule);
            assertEquals("fileRule", rule.getRuleId());
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                        processor.setNotModifiedHttpCodes(new int[] { 304 });
                    })//
                    .<RegexRule> singleton("fileRule", RegexRule.class, rule -> {
                        rule.setRuleId("fileRule");
                        rule.setDefaultRule(true);
                        rule.setResponseProcessor(container.getComponent("defaultResponseProcessor"));
                    });
    
    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