Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 102 for ReplaceAll (0.2 sec)

  1. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

            }
        }
    
        protected void processPluginRequest(final HttpServletRequest request, final HttpServletResponse response, final String path) {
            Path filePath = ResourceUtil.getSitePath(path.replaceAll("\\.\\.+", StringUtil.EMPTY).replaceAll("/+", "/").split("/"));
            if (Files.isDirectory(filePath)) {
                filePath = filePath.resolve("index.html");
            }
            if (Files.exists(filePath)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. 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);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. 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();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:52:54 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  4. tests/sql_builder_test.go

    	// convert single quote into double quote
    	sql = strings.ReplaceAll(sql, `'`, `"`)
    
    	// convert dialect special quote into double quote
    	switch DB.Dialector.Name() {
    	case "postgres":
    		sql = strings.ReplaceAll(sql, `"`, `"`)
    	case "mysql", "sqlite":
    		sql = strings.ReplaceAll(sql, "`", `"`)
    	case "sqlserver":
    		sql = strings.ReplaceAll(sql, `'`, `"`)
    	}
    
    	return sql
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            String value = request.getParameter("type");
            if (value == null) {
                final String servletPath = request.getServletPath();
                final String[] values = servletPath.replaceAll("/+", "/").split("/");
                if (values.length > 2) {
                    value = values[2];
                }
            }
            if (value == null) {
                return FormatType.SEARCH;
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. 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()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 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) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/PythonJob.java

            buf.append(File.separator);
            buf.append(getExecuteType());
            buf.append(File.separator);
            buf.append("resources");
            buf.append(File.separator);
            buf.append(filename.replaceAll("\\.\\.+", ""));
            return buf.toString();
        }
    
        @Override
        protected String getExecuteType() {
            return Constants.EXECUTE_TYPE_PYTHON;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

                        return
                    }
                    if (!fvd.getFile().getName().endsWith(".xml")) {
                        return
                    }
    
                    String newFileName = fvd.file.name.replaceAll('.xml$', '.html')
                    File outFile = fvd.relativePath.replaceLastName(newFileName).getFile(destDir)
                    outFile.parentFile.mkdirs()
    
                    execOps.javaexec {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  10. 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()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 2.4K bytes
    - Viewed (0)
Back to top