Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 80 for thumbnail (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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/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)
  3. 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)
  4. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

    import org.codelibs.fess.util.SystemUtil;
    
    import jakarta.servlet.ServletContext;
    
    /**
     * Job class for generating thumbnails for documents in the search engine.
     * This job executes the ThumbnailGenerator process as a separate JVM process
     * to create thumbnail images for supported document types.
     */
    public class GenerateThumbnailJob extends ExecJob {
        /** Logger for this class. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

    /**
     * Manager class for handling thumbnail generation and management.
     * Provides functionality to generate, cache, and serve thumbnail images for documents.
     */
    public class ThumbnailManager {
        private static final String NOIMAGE_FILE_SUFFIX = ".txt";
    
        /**
         * Default directory name for thumbnails.
         */
        protected static final String THUMBNAILS_DIR_NAME = "thumbnails";
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/EmptyGenerator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.thumbnail.impl;
    
    import java.io.File;
    
    /**
     * Empty implementation of thumbnail generator that does not generate any thumbnails.
     * This class is used as a no-op thumbnail generator when thumbnail generation is disabled
     * or when no specific thumbnail generator is configured.
     */
    public class EmptyGenerator extends BaseThumbnailGenerator {
    
    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)
  8. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailForm.java

     */
    package org.codelibs.fess.app.web.thumbnail;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.lastaflute.web.validation.Required;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for thumbnail request parameters.
     * Contains the document ID and query parameters needed to retrieve thumbnail images.
     */
    public class ThumbnailForm {
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

         * Creates a new instance of the thumbnail purging job with default expiry time (30 days).
         */
        public PurgeThumbnailJob() {
            // Default constructor
        }
    
        /** Expiration time for thumbnails in milliseconds (default: 30 days) */
        private long expiry = 30 * 24 * 60 * 60 * 1000L;
    
        /**
         * Executes the thumbnail purging job.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top