Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 122 for replaceAll (0.1 sec)

  1. 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;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. 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) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. 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 {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. 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);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                } else if (lowerPath.endsWith("/")) {
                    response.setContentType("text/html;charset=utf-8");
                }
            }
    
            Path filePath = ResourceUtil.getSitePath(path.replaceAll("\\.\\.+", StringUtil.EMPTY).replaceAll("/+", "/").split("/"));
            if (Files.isDirectory(filePath)) {
                filePath = filePath.resolve("index.html");
            }
            if (Files.exists(filePath)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

            String name = responseData.getUrl();
            final String enc = responseData.getCharSet();
    
            if (name == null || enc == null) {
                return null;
            }
    
            name = name.replaceAll("/+$", "");
            final int idx = name.lastIndexOf('/');
            if (idx >= 0) {
                name = name.substring(idx + 1);
            }
            try {
                return URLDecoder.decode(name, enc);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                final String path = uri.getPath();
                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) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

            metadata.merge(new Metadata());
    
            String dateAfter = gregorianDate();
    
            String ts = metadata.metadata.getVersioning().getSnapshot().getTimestamp();
            String datePart = DATE_FILTER.matcher(ts).replaceAll("");
    
            /* Allow for this test running across midnight */
            Set<String> expected = new HashSet<>(Arrays.asList(dateBefore, dateAfter));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. 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
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top