- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for replaceAll (0.07 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
protected String getFilePath(final String url) { return url.replaceAll("/+", "/") .replace("./", "") .replace("../", "") .replaceAll("/$", "/index.html") .replaceAll("\\?", questionStr) .replaceAll(":", colonStr) .replaceAll(";", semicolonStr) .replaceAll("&", ampersandStr); } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
assertTrue(result2 instanceof MatchAllQueryBuilder); // Both should generate the same JSON String json1 = result1.toString().replaceAll("[\\s\\n]", ""); String json2 = result2.toString().replaceAll("[\\s\\n]", ""); assertEquals(json1, json2); } public void test_execute_withVeryLargeBoost() { // Test execute method with very large boost value
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
} result = result.replaceAll("(\"[^\"]*)" + pathMapping.getRegex() + "([^\"]*\")", "$1" + replacement + "$2"); } } return result; } /** * Replaces URL for display or URL converter. * * @param url the URL to replace * @return the replaced URL */ public String replaceUrl(final String url) { // for display or url converer
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/ParamMap.java
@Override public void forEach(final BiConsumer<? super K, ? super V> action) { parent.forEach(action); } @Override public void replaceAll(final BiFunction<? super K, ? super V, ? extends V> function) { parent.replaceAll(function); } @Override public V putIfAbsent(final K key, final V value) { return parent.putIfAbsent(key, value); } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
String expectedValuePart = fieldNamePart.toLowerCase() .replace("_", ".") .replaceAll("\\.placeholder$", ".placeholder") .replaceAll("\\.placeholder\\.(.+)", ".placeholder_$1"); String expectedValue = "{labels." + expectedValuePart + "}";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
QueryContext context) { assertEquals(query, context.getQueryBuilder().toString().replaceAll("\\s", "")); assertFieldLogs(fieldLogMap); assertHighlightedQueries(highlightedQuerySet); if (sorts != null) { assertEquals(sorts, context.sortBuilders().stream().map(s -> s.toString().replaceAll("\\s", "")).collect(Collectors.joining())); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java
*/ // GET /api/admin/log/file/{id} @Execute public StreamResponse get$file(final String id) { final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", ""); final String logFilePath = systemHelper.getLogFilePath(); if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) { final Path path = Paths.get(logFilePath, filename);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
pos--; } value = escaped.substring(pos + 1); } else { value = escaped; } return value.replaceAll(escapedHighlightPre, highlightTagPre).replaceAll(escapedHighlightPost, highlightTagPost); } /** * Removes highlight tags from a string. * * @param str the string containing highlight tags
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
// Replace forward slashes with backslashes for consistency String normalized = path.replace('/', '\\'); // Remove duplicate slashes normalized = normalized.replaceAll("\\\\+", "\\\\"); // Remove trailing slash unless it's the root if (normalized.length() > 1 && normalized.endsWith("\\")) { normalized = normalized.substring(0, normalized.length() - 1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0)