Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for replaceFirst (0.1 sec)

  1. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.winlocal.ie", "file://"));
                } else {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.ie", "file://"));
                }
                break;
            case FIREFOX:
                if (isLocalFile) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                    return url.replaceFirst("\\{lang\\}", lang).replaceFirst("\\{version\\}", majorVersion + "." + minorVersion);
                }
            }
            return getDefaultHelpLink(url);
        }
    
        protected String getDefaultHelpLink(final String url) {
            return url.replaceFirst("/\\{lang\\}/", "/").replaceFirst("\\{version\\}", majorVersion + "." + minorVersion);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                if (path == null) {
                    parent = "/";
                    name = null;
                } else {
                    final String[] values = path.replaceAll("/+", "/").replaceFirst("/$", "").split("/");
                    if (values.length == 1) {
                        parent = "/";
                        name = null;
                    } else if (values.length == 2) {
                        parent = "/";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
Back to top