Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for thumbnailId (0.06 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

         * @param outputFile the file where the generated thumbnail will be saved
         * @return true if the thumbnail was successfully generated, false otherwise
         */
        @Override
        public boolean generate(final String thumbnailId, final File outputFile) {
            if (logger.isDebugEnabled()) {
                logger.debug("Generate Thumbnail: {}", thumbnailId);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

        }
    
        /**
         * Generates a thumbnail for the given ID and saves it to the output file.
         * @param thumbnailId The ID of the thumbnail to generate.
         * @param outputFile The file where the thumbnail will be saved.
         * @return True if thumbnail generation was successful, false otherwise.
         */
        @Override
        public boolean generate(final String thumbnailId, final File outputFile) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/EmptyGenerator.java

        }
    
        /**
         * Generates a thumbnail for the specified ID and output file.
         * This implementation always returns false, indicating no thumbnail was generated.
         *
         * @param thumbnailId the ID of the thumbnail to generate
         * @param outputFile the output file where the thumbnail should be saved
         * @return false always, as this generator does not create thumbnails
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

            }
            return value;
        }
    
        /**
         * Updates the thumbnail field in the search index.
         * @param thumbnailId The thumbnail ID.
         * @param value The thumbnail value to update.
         */
        protected void updateThumbnailField(final String thumbnailId, final String value) {
            // TODO bulk
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            // 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)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java

        String getName();
    
        /**
         * Generates a thumbnail for the given thumbnail ID and saves it to the output file.
         *
         * @param thumbnailId the unique identifier for the thumbnail
         * @param outputFile the file where the generated thumbnail will be saved
         * @return true if the thumbnail was successfully generated, false otherwise
         */
        boolean generate(String thumbnailId, File outputFile);
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/ThumbnailQueueDbm.java

                "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnThumbnailId = cci("thumbnail_id", "thumbnail_id", null, null, String.class, "thumbnailId", null,
                false, false, false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
    
        public ColumnInfo columnCreatedBy() {
            return _columnCreatedBy;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            // Test that generate always returns false
            File outputFile = new File("test.jpg");
            assertFalse(emptyGenerator.generate("thumbnailId", outputFile));
            assertFalse(emptyGenerator.generate(null, outputFile));
            assertFalse(emptyGenerator.generate("thumbnailId", null));
            assertFalse(emptyGenerator.generate(null, null));
        }
    
        public void test_destroy() {
            // Initialize without container
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            private boolean generateCalled = false;
            private boolean destroyCalled = false;
    
            @Override
            public boolean generate(String thumbnailId, File outputFile) {
                generateCalled = true;
                return true;
            }
    
            @Override
            public void destroy() {
                destroyCalled = true;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            boolean generateCalled = false;
    
            @Override
            public String getName() {
                return "testGenerator";
            }
    
            @Override
            public boolean generate(String thumbnailId, File outputFile) {
                generateCalled = true;
                return generateResult;
            }
    
            @Override
            public boolean isAvailable() {
                return available;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top