Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Federation (0.07 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

        public void test_generate_withValidThumbnailId() {
            // Test successful thumbnail generation
            String thumbnailId = "test-thumbnail-001";
            assertTrue(thumbnailGenerator.generate(thumbnailId, tempOutputFile));
            assertTrue(tempOutputFile.exists());
        }
    
        public void test_generate_withNullThumbnailId() {
            // Test generation with null thumbnail ID
            assertFalse(thumbnailGenerator.generate(null, tempOutputFile));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

    /**
     * Abstract base class for thumbnail generators.
     * Provides common functionality for thumbnail generation implementations.
     */
    public abstract class BaseThumbnailGenerator implements ThumbnailGenerator {
        private static final Logger logger = LogManager.getLogger(BaseThumbnailGenerator.class);
    
        /** Map of conditions for thumbnail generation. */
        protected final Map<String, String> conditionMap = new HashMap<>();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            Exception middleCause = new RuntimeException("Processing failed", innerCause);
            ThumbnailGenerationException exception = new ThumbnailGenerationException("Thumbnail generation error", middleCause);
    
            assertEquals("Thumbnail generation error", exception.getMessage());
            assertEquals(middleCause, exception.getCause());
            assertEquals("Processing failed", exception.getCause().getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

         */
        protected static class Options {
            /**
             * Session ID for filtering thumbnail generation.
             */
            @Option(name = "-s", aliases = "--sessionId", metaVar = "sessionId", usage = "Session ID")
            protected String sessionId;
    
            /**
             * Name identifier for the thumbnail generation task.
             */
            @Option(name = "-n", aliases = "--name", metaVar = "name", usage = "Name")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

            assertNotNull(result);
            assertTrue(result.contains("0 docs"));
        }
    
        // Test script generation with multiple labels
        public void test_execute_scriptGenerationWithMultipleLabels() {
            // This test verifies that the job executes correctly
            // Note: We can't easily test the actual script generation because the mock doesn't call the processor
    
            String result = updateLabelJob.execute();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

        protected final List<ThumbnailGenerator> generatorList = new ArrayList<>();
    
        /**
         * Queue for thumbnail generation tasks containing URL, content, and path tuples.
         */
        protected BlockingQueue<Tuple3<String, String, String>> thumbnailTaskQueue;
    
        /**
         * Flag indicating whether thumbnail generation is currently in progress.
         */
        protected volatile boolean generating;
    
        private Thread thumbnailQueueThread;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

         * This implementation is empty as no cleanup is required.
         */
        @Override
        public void destroy() {
        }
    
        /**
         * Creates a thumbnail generation task for the specified document.
         *
         * @param path the file path or URL of the document
         * @param docMap the document metadata map containing field values
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            new File(tempDir, "WEB-INF/plugin").mkdirs();
    
            thumbnailJob.numOfThreads(2);
    
            testProcessHelper.exitValue = 0;
            testProcessHelper.processOutput = "Thumbnail generation completed";
    
            String result = thumbnailJob.execute();
    
            assertNotNull(result);
            // The result should contain Session Id with the generated session ID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

        /** Helper for performing search operations and managing search requests. */
        @Resource
        protected SearchHelper searchHelper;
    
        /** Manager for handling thumbnail generation and display. */
        @Resource
        protected ThumbnailManager thumbnailManager;
    
        /** Helper for managing label types and label-based filtering. */
        @Resource
        protected LabelTypeHelper labelTypeHelper;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. README.md

    - **XML Processing** (`org.codelibs.core.xml`) - XML DOM utilities, SAX parser helpers, and schema validation support
    - **SQL Utilities** (`org.codelibs.core.sql`) - JDBC helper methods for result sets, prepared statements, and connection management
    - **Network & I/O** (`org.codelibs.core.net`, `org.codelibs.core.nio`) - URL utilities, UUID generation, MIME type detection, and NIO channel operations
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top