Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 79 for thumbnailId (0.08 seconds)

  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);
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 10.6K bytes
    - Click Count (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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. 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);
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. 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();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  6. 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());
        }
    
        @Test
        public void test_generate_withNullThumbnailId() {
            // Test generation with null thumbnail ID
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (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;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 9.8K bytes
    - Click Count (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));
        }
    
        @Test
        public void test_destroy() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

                svgDocMap.put("thumbnail", "http://example.com/image.svg");
                svgDocMap.put("mimetype", "image/svg+xml");
                assertTrue("SVG MIME type should be target", generator.isTarget(svgDocMap));
    
                // Test case 2: Different MIME type should not match
                Map<String, Object> pngDocMap = new HashMap<>();
                pngDocMap.put("thumbnail", "http://example.com/image.png");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (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;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
Back to Top