Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for fileName (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            final int fileType;
            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")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

            if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) {
                final Path path = Paths.get(logFilePath, filename);
                return asStream(filename).contentTypeOctetStream().stream(out -> {
                    try (InputStream in = Files.newInputStream(path)) {
                        out.write(in);
                    }
                });
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            String docid = "1234567890abcdef";
            // Call the String version directly
            String filename = thumbnailManager.getImageFilename(docid);
            assertNotNull(filename);
            assertTrue(filename.endsWith(".png"));
            assertTrue(filename.contains("/"));
            assertTrue(filename.contains(docid));
        }
    
        // Test getImageFilename with custom settings
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            String fileName = form.designFileName;
            if (StringUtil.isBlank(fileName)) {
                fileName = uploadedFileName;
                try {
                    int pos = fileName.indexOf('/');
                    if (pos >= 0) {
                        fileName = fileName.substring(pos + 1);
                    }
                    pos = fileName.indexOf('\\');
                    if (pos >= 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        // Test filename setter
        public void test_filename() {
            assertNull(pythonJob.filename);
    
            PythonJob result = pythonJob.filename("test.py");
    
            assertSame(pythonJob, result);
            assertEquals("test.py", pythonJob.filename);
        }
    
        // Test single argument addition
        public void test_arg() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java

            if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) {
                final Path path = Paths.get(logFilePath, filename);
                return asStream(filename).contentTypeOctetStream().stream(out -> {
                    try (InputStream in = Files.newInputStream(path)) {
                        out.write(in);
                    }
                });
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/PythonJob.java

            super();
        }
    
        /** The Python script filename to execute */
        protected String filename;
    
        /** List of command-line arguments to pass to the Python script */
        protected List<String> argList = new ArrayList<>();
    
        /**
         * Sets the Python script filename to execute.
         *
         * @param filename the Python script filename (relative to WEB-INF/env/python/resources)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PluginHelper.java

        /**
         * Creates an artifact instance from a filename.
         *
         * @param artifactType the type of the artifact
         * @param filename the filename to parse
         * @return an artifact instance
         */
        protected Artifact getArtifactFromFileName(final ArtifactType artifactType, final String filename) {
            return getArtifactFromFileName(artifactType, filename, null);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            return value;
        }
    
        /**
         * Extracts the filename from a URL, handling various protocols and URL decoding.
         * Processes HTTP, HTTPS, file, SMB, and FTP URLs appropriately.
         *
         * @param url the URL to extract filename from
         * @param encoding the character encoding (currently unused in this method)
         * @return the extracted filename, or empty string if none found
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/CurlTest.java

        }
    
        /*
        @Test
        public void test_Get_ssl() throws Exception {
            final String filename = "config/certs/http_ca.crt";
            try (InputStream in = new FileInputStream(filename)) {
                Certificate certificate = CertificateFactory.getInstance("X.509").generateCertificate(in);
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top