Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for replaceUrl (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  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/FessXpathTransformer.java

                    String url = requestData.getUrl();
                    for (final Map.Entry<String, String> entry : convertUrlMap.entrySet()) {
                        url = url.replaceAll(entry.getKey(), entry.getValue());
                    }
                    url = pathMappingHelper.replaceUrl(url);
                    requestData.setUrl(replaceDuplicateHost(url));
                }
            }
            return urlList;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            } else {
                value = escaped;
            }
            return value.replaceAll(escapedHighlightPre, highlightTagPre).replaceAll(escapedHighlightPost, highlightTagPost);
        }
    
        protected String removeHighlightTag(final String str) {
            return str.replaceAll(originalHighlightTagPre, StringUtil.EMPTY).replaceAll(originalHighlightTagPost, StringUtil.EMPTY);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  7. schema/naming.go

    	UniqueName(table, column string) string
    }
    
    // Replacer replacer interface like strings.Replacer
    type Replacer interface {
    	Replace(name string) string
    }
    
    var _ Namer = (*NamingStrategy)(nil)
    
    // NamingStrategy tables, columns naming strategy
    type NamingStrategy struct {
    	TablePrefix         string
    	SingularTable       bool
    	NameReplacer        Replacer
    	NoLowerCase         bool
    	IdentifierMaxLength int
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code replaceAll()} operations on a map. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll() {
        getList().replaceAll(e -> samples.e3());
        expectContents(nCopies(getNumElements(), samples.e3()));
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
        getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
        E[] expected = createSamplesArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

         * @return path File path
         */
        protected String getFilePath(final String url) {
            return url.replaceAll("/+", "/").replace("./", "").replace("../", "").replaceAll("/$", "/index.html").replaceAll("\\?", questionStr)
                    .replaceAll(":", colonStr).replaceAll(";", semicolonStr).replaceAll("&", ampersandStr);
        }
    
        /**
         * Returns data as a file path of String.
         *
         */
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top