- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for replaceUrl (3.34 sec)
-
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
assertEquals("\"http://localhost/\"", pathMappingHelper.replaceUrls(text)); text = "\"file:///home/user/\""; assertEquals("\"http://localhost/user/\"", pathMappingHelper.replaceUrls(text)); text = "\"aaafile:///home/user/\""; assertEquals("\"aaahttp://localhost/user/\"", pathMappingHelper.replaceUrls(text)); text = "aaa\"file:///home/user/\"bbb";
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 url the URL to replace * @return the replaced URL */ public String replaceUrl(final String sessionId, final String url) { // for crawling final List<PathMapping> pathMappingList = getPathMappingList(sessionId); if (pathMappingList == null) { return url; } return replaceUrl(pathMappingList, url); } /** * Replaces URLs in text. *
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/crawler/transformer/AbstractFessFileTransformer.java
String url = responseData.getUrl(); final String indexingTarget = crawlingConfig.getIndexingTarget(url); url = pathMappingHelper.replaceUrl(sessionId, url); final FieldConfigs fieldConfigs = new FieldConfigs(crawlingConfig.getConfigParameterMap(ConfigName.FIELD)); String urlEncoding;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/go/GoAction.java
clickLog.setOrder(form.order); } searchLogHelper.addClickLog(clickLog); } } final String targetUrl = pathMappingHelper.replaceUrl(url); String hash; if (StringUtil.isNotBlank(form.hash)) { final String value = URLUtil.decode(form.hash, Constants.UTF_8); if (targetUrl.indexOf('#') == -1) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.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/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
final String contentType = MimeTypeUtil.guessContentType(path); assertEquals("text/html", contentType); } /** * @throws Exception */ @Test public void testGetFromStream_gif() throws Exception { final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/ccc.gif";
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/GeoInfoTest.java
assertEquals(result, geoInfo.toQueryBuilder().toString().replaceAll("[ \n]", "")); } public void test_34_150_10_x() { MockletHttpServletRequest request = getMockRequest(); request.setParameter("geo.location.x.point", "34,150");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.9K 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/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)