Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 95 for thumbnailId (0.19 seconds)

  1. 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)
  2. 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)
  3. src/main/assemblies/files/generate-thumbnail

        exit 1
      fi
      check_command pdftoppm
      check_command unoconv
      tmp_pdf_file=/tmp/thumbnail.$$.pdf
      unoconv -e PageRange=1-1 -o ${tmp_pdf_file} -f pdf "${target_file}"
      if [[ ! -f ${tmp_pdf_file} ]] ; then
        echo "unoconv does not work."
        exit 1
      fi
      tmp_png_prefix=/tmp/thumbnail.png.$$
      pdftoppm -png -singlefile ${tmp_pdf_file} ${tmp_png_prefix}
      tmp_png_file="${tmp_png_prefix}.png"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

        /**
         * Command-line options for the thumbnail generator.
         */
        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.
             */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  6. 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)
  7. .gitignore

    /src/main/webapp/WEB-INF/site/
    /src/main/webapp/WEB-INF/plugin/*
    !/src/main/webapp/WEB-INF/plugin/.keep
    /src/main/webapp/WEB-INF/env/crawler/lib/
    /src/main/webapp/WEB-INF/env/suggest/lib/
    /src/main/webapp/WEB-INF/env/thumbnail/lib/
    /src/main/webapp/WEB-INF/thumbnails/
    /src/main/webapp/jar/
    /dbflute_fess/extlib/*
    /dbflute_fess/log/*.log
    /dbflute_h2/log/*.log
    /dbflute_mysql/log/*.log
    /dbflute_oracle/log/*.log
    /src/main/webapp/WEB-INF/conf/*.properties
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Aug 31 08:19:00 GMT 2025
    - 1K bytes
    - Click Count (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/util/ResourceUtil.java

        }
    
        /**
         * Gets the path to thumbnail files directory.
         *
         * @param names the path components to append to the thumbnails directory
         * @return the Path object pointing to the thumbnails directory
         */
        public static Path getThumbnailPath(final String... names) {
            return getPath("WEB-INF/", "thumbnails", names);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

         */
        @Size(max = 10)
        public String loginLink;
    
        /**
         * Enable or disable thumbnail generation for documents.
         * When enabled, thumbnails are generated for supported file types.
         */
        @Size(max = 10)
        public String thumbnail;
    
        /**
         * Types of crawling failures to ignore during crawling operations.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
Back to Top