Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for endswith (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

            final String path = imageFile.getAbsolutePath();
            if (path.endsWith(".png")) {
                return "image/png";
            }
            if (path.endsWith(".gif")) {
                return "image/gif";
            }
            if (path.endsWith(".jpg") || path.endsWith(".jpeg")) {
                return "image/jpeg";
            }
            return "application/octet-stream";
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

        when {
          file.name.endsWith(".css") -> "text/css"
          file.name.endsWith(".gif") -> "image/gif"
          file.name.endsWith(".html") -> "text/html"
          file.name.endsWith(".jpeg") -> "image/jpeg"
          file.name.endsWith(".jpg") -> "image/jpeg"
          file.name.endsWith(".js") -> "application/javascript"
          file.name.endsWith(".png") -> "image/png"
          else -> "text/plain"
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                if (lowerPath.endsWith(".html")) {
                    response.setContentType("text/html;charset=utf-8");
                } else if (lowerPath.endsWith(".css")) {
                    response.setContentType("text/css");
                } else if (lowerPath.endsWith(".eot")) {
                    response.setContentType("application/vnd.ms-fontobject");
                } else if (lowerPath.endsWith(".ico")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            String result = aggregateLogJob.execute();
    
            // Verify result contains error message
            assertNotNull(result);
            assertTrue(result.contains(errorMessage));
            assertTrue(result.endsWith("\n"));
        }
    
        public void test_execute_withNullPointerException() {
            // Setup mock SearchLogHelper that throws NullPointerException
            SearchLogHelper mockSearchLogHelper = new SearchLogHelper() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            if (fileName.startsWith("system") && fileName.endsWith(".properties")) {
                fileType = 1;
            } else if (fileName.startsWith("gsa") && fileName.endsWith(".xml")) {
                fileType = 2;
            } else if (fileName.endsWith(".bulk")) {
                fileType = 3;
            } else if (fileName.startsWith("fess") && fileName.endsWith(".json")) {
                fileType = 4;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/PathValidator.java

                }
    
                // Check for trailing spaces or periods (Windows doesn't handle well)
                if (component.endsWith(" ") || component.endsWith(".")) {
                    throw new SmbException("Path component has trailing space or period: " + component);
                }
            }
        }
    
        /**
         * Validate host name
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

            }
    
            @Override
            public String fromClassNameToSuffix(String className) {
                if (className.endsWith("Action")) {
                    return "Action";
                } else if (className.endsWith("Form")) {
                    return "Form";
                } else if (className.endsWith("Assist")) {
                    return "Assist";
                }
                return "";
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

            assertArgumentNotNull("jarFile", jarFile);
            assertArgumentNotNull("handler", handler);
    
            if (jarFile.getName().toLowerCase().endsWith(WAR_FILE_EXTENSION)) {
                forEach(jarFile, WEB_INF_CLASSES_PATH, handler);
            } else {
                forEach(jarFile, "", handler);
            }
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

         * @param name the filename to check
         * @return true if the filename ends with .log or .log.gz, false otherwise
         */
        public static boolean isLogFilename(final String name) {
            return name.endsWith(".log") || name.endsWith(".log.gz");
        }
    
        private HtmlResponse asIndexHtml() {
            return asHtml(path_AdminLog_AdminLogJsp).renderWith(data -> {
                RenderDataUtil.register(data, "logFileItems", getLogFileItems());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

            }
    
            if (v.startsWith("^")) {
                buf.append(v);
                if (!v.endsWith("$")) {
                    buf.append(".*");
                }
            } else if (v.endsWith("$")) {
                buf.append(".*");
                buf.append(v);
            } else if (v.endsWith("/\\E")) {
                buf.append(".*");
                buf.append(v);
                buf.append(".*");
            } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top