Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for replaceFirst (0.1 sec)

  1. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                            indexName = configIndex.replaceFirst(Pattern.quote(CONFIG_INDEX_PREFIX), name);
                        } else if (configIndex.startsWith(USER_INDEX_PREFIX)) {
                            final String name = fessConfig.getIndexUserIndex();
                            indexName = configIndex.replaceFirst(Pattern.quote(USER_INDEX_PREFIX), name);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val agentNum: Int
            get() {
                if (System.getenv().containsKey("USERNAME")) {
                    val agentNumEnv = System.getenv("USERNAME").replaceFirst("tcagent", "")
                    if (Regex("""\d+""").containsMatchIn(agentNumEnv)) {
                        return agentNumEnv.toInt()
                    }
                }
                return 1
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            if (idx >= 0) {
                url = url.replaceFirst(";jsessionid=[a-zA-Z0-9\\.]*", "");
            }
    
            if (url.indexOf(' ') >= 0) {
                url = url.replace(" ", "%20");
            }
    
            String oldUrl = null;
            while (url.indexOf("/../") >= 0 && !url.equals(oldUrl)) {
                oldUrl = url;
                url = url.replaceFirst("/[^/]+/\\.\\./", "/");
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

            if ("/_plugin".equals(path) || path.startsWith("/_plugin/")) {
                processPluginRequest(request, response, path.replaceFirst("^/_plugin", StringUtil.EMPTY));
                return;
            }
    
            final Method httpMethod = Method.valueOf(request.getMethod().toUpperCase(Locale.ROOT));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                final String filePath = preprocessUri(uri);
                responseData.setUrl(filePath);
    
                final String[] paths = parsePath(filePath.replaceFirst("^storage:/+", StringUtil.EMPTY));
                final String bucketName = paths[0];
                final String path = paths[1];
                final StatObjectResponse statObject = getStatObject(bucketName, path);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                }
                // Unix
                return abbreviateSite(value);
            }
            if (url.startsWith("smb:") || url.startsWith("smb1:")) {
                final String value = url.replaceFirst("^smb.?:/+", StringUtil.EMPTY);
                return abbreviateSite("\\\\" + value.replace('/', '\\'));
            }
    
            return getSite(url, encoding);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/ResourceUtil.java

            assertArgumentNotNull("clazz", clazz);
    
            if (isExist(path)) {
                return path;
            }
            final String prefix = clazz.getName().replace('.', '/').replaceFirst("/[^/]+$", "");
            final String extendedPath = prefix + "/" + path;
            if (ResourceUtil.getResourceNoException(extendedPath) != null) {
                return extendedPath;
            }
            return path;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

                        if (content != null) {
                            sendDictionaryContent(path, StreamUtil.split(content, "\n")
                                    .get(stream -> stream.map(s -> s.replaceFirst("#.*", StringUtil.EMPTY)).collect(Collectors.joining("\n"))));
                        }
                    }
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 54K bytes
    - Viewed (0)
Back to top