- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for createPathMatcher (0.15 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java
* @throws NullPointerException if baseDirectory is null */ @Nonnull default PathMatcher createPathMatcher( @Nonnull Path baseDirectory, Collection<String> includes, Collection<String> excludes) { return createPathMatcher(baseDirectory, includes, excludes, false); } /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jul 21 19:37:56 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
final Pattern pattern = Pattern.compile("test"); final Matcher matcher = pattern.matcher("test"); final BiFunction<String, Matcher, String> pathMatcher = pathMappingHelper.createPathMatcher(matcher, "function:encodeUrl"); String result = pathMatcher.apply("http://example.com/test path", matcher); assertEquals("http://example.com/test+path", result); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
* * @param matcher the regex matcher * @param replacement the replacement string * @return the path matcher function */ public BiFunction<String, Matcher, String> createPathMatcher(final Matcher matcher, final String replacement) { // for PathMapping if (FUNCTION_ENCODEURL_MATCHER.equals(replacement)) { return (u, m) -> DocumentUtil.encodeUrl(u); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0)