Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 122 for replaceAll (0.07 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java

            if (url == null) {
                return null;
            }
            String convertedUrl = url;
            for (final Map.Entry<String, String> entry : convertMap.entrySet()) {
                convertedUrl = convertedUrl.replaceAll(entry.getKey(), entry.getValue());
            }
            return convertedUrl;
        }
    
        public void add(final String target, final String replacement) {
            if (target == null || replacement == null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

         */
        @Override
        public void processUrl(final String url) {
            if (includeFilteringPattern != null) {
                addInclude(url.replaceAll(urlPattern, includeFilteringPattern));
            }
            if (excludeFilteringPattern != null) {
                addExclude(url.replaceAll(urlPattern, excludeFilteringPattern));
            }
        }
    
        public String getUrlPattern() {
            return urlPattern;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            assertEquals(1, sortBuilders.size());
            logger.info("{} => {}", text, sortBuilders.get(0).toString());
            assertEquals(expect, sortBuilders.get(0).toString().replaceAll("[\s\n]", ""));
        }
    
        private QueryContext assertQueryBuilder(final Class<?> expectedClass, final String expectedQuery, final String text) throws Exception {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/base/CommonMatcher.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class CommonMatcher {
      public abstract boolean matches();
    
      public abstract boolean find();
    
      public abstract boolean find(int index);
    
      public abstract String replaceAll(String replacement);
    
      public abstract int end();
    
      public abstract int start();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 09 00:52:54 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

      public void testGetKeyMatchesString() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          String fieldName = property.name();
          String expected = Ascii.toLowerCase(fieldName).replaceAll("_", ".");
          assertEquals(expected, property.key());
        }
      }
    
      public void testGetValue() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 10 08:40:05 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. internal/event/rules.go

    			prefix += "*"
    		}
    
    		pattern = prefix
    	}
    
    	if suffix != "" {
    		if !strings.HasPrefix(suffix, "*") {
    			suffix = "*" + suffix
    		}
    
    		pattern += suffix
    	}
    
    	pattern = strings.ReplaceAll(pattern, "**", "*")
    
    	return pattern
    }
    
    // Rules - event rules
    type Rules map[string]TargetIDSet
    
    // Add - adds pattern and target ID.
    func (rules Rules) Add(pattern string, targetID TargetID) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                    extention = strings[strings.length - 1];
                } else {
                    filePrefix = name;
                    extention = "";
                }
                filePrefix = filePrefix.replaceAll("\\p{Zs}", "_");
            } else {
                filePrefix = "none";
                extention = "";
            }
            File inputFile = null;
            File outputFile = null;
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
Back to top