Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for replaceUrls (0.12 sec)

  1. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

        }
    
        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);
        }
    
        public String replaceUrls(final String text) {
            if (cachedPathMappingList == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                if (!ComponentUtil.getFessConfig().isHtmlMimetypeForCache(mimetype)) {
                    cache = StringEscapeUtils.escapeHtml4(cache);
                }
                cache = ComponentUtil.getPathMappingHelper().replaceUrls(cache);
                if (queries != null && queries.length > 0) {
                    doc.put(HL_CACHE, replaceHighlightQueries(cache, queries));
                } else {
                    doc.put(HL_CACHE, cache);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  4. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            String url = responseData.getUrl();
            final String indexingTarget = crawlingConfig.getIndexingTarget(url);
            url = pathMappingHelper.replaceUrl(sessionId, url);
            final String mimeType = responseData.getMimeType();
    
            final FieldConfigs fieldConfigs = new FieldConfigs(crawlingConfig.getConfigParameterMap(ConfigName.FIELD));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top