- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addAllow (0.06 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java
assertEquals(0, directive.getCrawlDelay()); } public void test_directiveAddAllow() { // Test Directive addAllow Directive directive = new Directive("MyBot"); directive.addAllow("/public/"); directive.addAllow("/images/"); String[] allows = directive.getAllows(); assertEquals(2, allows.length); assertEquals("/public/", allows[0]);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
* Adds an allowed path pattern to this directive. * Supports wildcards (*) and end-of-path ($) according to RFC 9309. * @param path the path pattern to allow */ public void addAllow(final String path) { final PathPattern pattern = new PathPattern(path); // Check if pattern already exists boolean exists = false;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 11.4K bytes - Viewed (0)