- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for RegexRule (0.09 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java
import org.codelibs.core.beans.util.BeanUtil; import org.codelibs.core.beans.util.CopyOptions; import org.codelibs.fess.crawler.entity.ResponseData; /** * @author shinsuke * */ public class RegexRule extends AbstractRule { private static final long serialVersionUID = 1L; protected boolean defaultRule = false; protected boolean allRequired = true;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 3.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java
assertTrue(regexRule.match(getTestData4())); } public void test_match_url() { final RegexRule regexRule = new RegexRule(); regexRule.defaultRule = false; regexRule.allRequired = true; regexRule.addRule("url", Pattern.compile("http:.*")); assertTrue(regexRule.match(getTestData1())); assertFalse(regexRule.match(getTestData2())); assertTrue(regexRule.match(getTestData3()));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/resources/crawler/rule.xml
<arg>fsFileRule</arg> </postConstruct> <postConstruct name="addRule"> <arg>defaultRule</arg> </postConstruct> </component> <component name="sitemapsRule" class="org.codelibs.fess.crawler.rule.impl.RegexRule" > <property name="ruleId">"sitemapsRule"</property> <property name="responseProcessor"> <component class="org.codelibs.fess.crawler.processor.impl.SitemapsResponseProcessor"> </component> </property>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jun 04 08:42:49 UTC 2020 - 4.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java
assertNotNull(rule); assertEquals("fileRule", rule.getRuleId()); final RegexRule rule2 = new RegexRule(); rule2.setAllRequired(true); rule2.addRule("url", "http:.*"); final RegexRule rule3 = new RegexRule(); rule3.addRule("url", "http:.*"); assertFalse(ruleManager.hasRule(rule2));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java
import org.codelibs.fess.crawler.helper.SitemapsHelper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author shinsuke * */ public class SitemapsRule extends RegexRule { /** * */ private static final long serialVersionUID = 1L; private static final Logger logger = LoggerFactory.getLogger(SitemapsRule.class); @Override
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler-lasta/src/main/resources/crawler/rule.xml
</property> <postConstruct name="addRule"> <arg>"url"</arg> <arg>".*sitemap.*"</arg> </postConstruct> </component> <component name="fileRule" class="org.codelibs.fess.crawler.rule.impl.RegexRule"> <property name="ruleId">"fileRule"</property> <property name="defaultRule">true</property> <property name="responseProcessor"> <component
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 1.5K bytes - Viewed (0)