Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for buildFilePath (0.2 seconds)

  1. src/main/java/org/codelibs/fess/job/IndexExportJob.java

            if (urlObj == null) {
                logger.debug("Skipping document without url field.");
                return;
            }
    
            final String url = urlObj.toString();
            final Path filePath = buildFilePath(exportPath, url, formatter);
            if (logger.isDebugEnabled()) {
                logger.debug("[EXPORT] Exporting document: url={}, path={}", url, filePath);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            assertEquals(1, capturedIndices.size());
            assertEquals("fess.search", capturedIndices.get(0));
        }
    
        // --- buildFilePath() tests ---
    
        @Test
        public void test_buildFilePath_simpleUrl() {
            final Path result = indexExportJob.buildFilePath("/export", "https://example.com/docs/guide.html", new HtmlIndexExportFormatter());
            assertEquals(Path.of("/export/example.com/docs/guide.html"), result);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
Back to Top