- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 660 for patterns (0.04 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java
* <p> * Pattern syntax supports: * <ul> * <li>Standard glob patterns with {@code *}, {@code ?}, and {@code **} wildcards</li> * <li>Explicit syntax prefixes like {@code "glob:"} or {@code "regex:"}</li> * <li>Maven 3 compatible behavior for patterns without explicit syntax</li> * <li>Default exclusion patterns for SCM files when requested</li> * </ul> * * @since 4.0.0 * @see PathMatcher */ @Experimental
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Jul 21 19:37:56 UTC 2025 - 7.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlFilterService.java
/** * Retrieves a list of URL patterns to include for a given session. * * @param sessionId the ID of the session for which to retrieve the include URL patterns * @return a list of compiled regular expression patterns representing the URLs to include */ List<Pattern> getIncludeUrlPatternList(String sessionId); /** * Retrieves a list of URL patterns to be excluded for a given session. *Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java
} /** * Gets the list of include URL patterns for the specified session. * * @param sessionId The session ID. * @return The list of compiled include patterns. * @throws CrawlerSystemException if the patterns cannot be loaded. */ @Override public List<Pattern> getIncludeUrlPatternList(final String sessionId) { try {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
String sessionId = "test-session-024"; urlFilter.init(sessionId); // Test empty pattern urlFilter.addInclude(""); urlFilter.addExclude(""); // Test single character pattern urlFilter.addInclude("."); urlFilter.addExclude("*"); // Test patterns with only special characters urlFilter.addInclude("^$"); urlFilter.addExclude(".*");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java
import org.apache.maven.artifact.Artifact; /** * Filter to include from a list of artifact patterns. * */ public class IncludesArtifactFilter implements ArtifactFilter { private final Set<String> patterns; public IncludesArtifactFilter(List<String> patterns) { this.patterns = new LinkedHashSet<>(patterns); } @Override public boolean include(Artifact artifact) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java
/** Map of session IDs to include URL patterns for filtering URLs. */ protected volatile Map<String, List<Pattern>> includeUrlPatternMap = new HashMap<>(); /** Map of session IDs to exclude URL patterns for filtering URLs. */ protected volatile Map<String, List<Pattern>> excludeUrlPatternMap = new HashMap<>(); /** * Creates a new MemoryDataHelper instance.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java
.getTotalHits() .value() > 0); // Verify pattern can be retrieved final List<Pattern> patterns = urlFilterService.getIncludeUrlPatternList(sessionId); assertEquals(1, patterns.size()); assertTrue(patterns.get(0).matcher("http://example.com/page1").matches()); assertFalse(patterns.get(0).matcher("http://other.com/page1").matches());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_wildcard.txt
# Based on RFC 9309 specification # Test wildcard patterns User-agent: WildcardBot Disallow: /*.pdf$ Disallow: /admin/*.php Disallow: /*/private/ Allow: /public/*.html # Test end-of-path ($) patterns User-agent: EndPathBot Disallow: /fish$ Disallow: /temp$ Allow: /fishing # Test complex patterns User-agent: ComplexBot Disallow: / Allow: /$ Allow: /index.html$ Allow: /public/
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 14:03:41 UTC 2025 - 910 bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
/** * A factory class for managing and creating crawler clients based on URL patterns. * This class implements AutoCloseable to properly handle resource cleanup. * * <p>The factory maintains a map of regular expression patterns to crawler clients, * allowing for URL-based client selection. Clients can be added with specific patterns * and optionally at specific positions in the processing order.</p> *
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 7.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
private final int priorityLength; /** * Constructs a new PathPattern from the given robots.txt path pattern. * @param pattern the path pattern string from robots.txt (may contain * and $) */ public PathPattern(final String pattern) { this.pattern = pattern;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.5K bytes - Viewed (0)