Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 102 for ReplaceAll (0.17 sec)

  1. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

                    cb.query().setDescription_Wildcard(dataConfigPager.description);
                } else if (dataConfigPager.description.endsWith("*")) {
                    cb.query().setDescription_Prefix(dataConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY));
                } else {
                    cb.query().setDescription_MatchPhrase(dataConfigPager.description);
                }
            }
            // TODO Long, Integer, String supported only.
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        public static String replace(final Object input, final String regex, final String replacement) {
            if (input == null) {
                return StringUtil.EMPTY;
            }
            return input.toString().replaceAll(regex, replacement);
        }
    
        public static String formatCode(final String prefix, final String style, final String mimetype, final String input) {
            if (input == null) {
                return StringUtil.EMPTY;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                        && responseData.getContentLength() <= fessConfig.getCrawlerDocumentCacheMaxSizeAsInteger().longValue()) {
    
                    final String cache = content.trim().replaceAll("[ \\t\\x0B\\f]+", " ");
                    // text cache
                    putResultDataBody(dataMap, fessConfig.getIndexFieldCache(), cache);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

                    cb.query().setDescription_Wildcard(webConfigPager.description);
                } else if (webConfigPager.description.endsWith("*")) {
                    cb.query().setDescription_Prefix(webConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY));
                } else {
                    cb.query().setDescription_MatchPhrase(webConfigPager.description);
                }
            }
            // TODO Long, Integer, String supported only.
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

            final String result;
            if (text.length() <= maxTextLength) {
                result = text;
            } else {
                result = text.substring(0, maxTextLength);
            }
            return result.replaceAll("\\s+", " ");
        }
    
        protected String getSupportedLanguage(final String lang) {
            if (StringUtil.isBlank(lang)) {
                return null;
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

            if (rangeValue.value.isEmpty()) {
                return isLeft ? 1 : -1;
            }
    
            value = FILTER_1.matcher(value).replaceAll("");
    
            List<String> valueTokens = new ArrayList<>(Arrays.asList(FILTER_2.split(value)));
            List<String> rangeValueTokens = new ArrayList<>(Arrays.asList(FILTER_3.split(rangeValue.value)));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                final boolean apply) {
            final String[] readings;
            if (StringUtil.isBlank(reading)) {
                readings = word.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP);
            } else {
                readings = reading.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP);
            }
    
            final List<String> labelList = new ArrayList<>();
            if (tags != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

                // have not detected any problems yet.
                // ---------------------------------------------------------------------------------
                // path = path.replaceAll( "//", "/" );
    
            }
            return new File(path).getAbsoluteFile();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  9. internal/config/lambda/event/targetlist.go

    	if list == nil {
    		return t
    	}
    	list.RLock()
    	defer list.RUnlock()
    	t.TargetStats = make(map[string]TargetStat, len(list.targets))
    	for id, target := range list.targets {
    		t.TargetStats[strings.ReplaceAll(id.String(), ":", "_")] = target.Stat()
    	}
    	return t
    }
    
    // NewTargetList - creates TargetList.
    func NewTargetList() *TargetList {
    	return &TargetList{targets: make(map[TargetID]Target)}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public ActionResponse download(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);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top