Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for thumbnail_ (0.07 sec)

  1. 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.
             */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K 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/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)
  4. 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 {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/main/assemblies/files/generate-thumbnail

      check_command convert
      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"
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jun 12 13:13:28 UTC 2023
    - 2.5K 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/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)
  8. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                        taskList.clear();
                    }
                };
                manager.init();
                assertEquals(new File(varDir, "thumbnails").getAbsolutePath(), manager.baseDir.getAbsolutePath());
                manager.destroy();
            } finally {
                System.clearProperty(Constants.FESS_VAR_PATH);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsThumbnailQueueCQ.java

        public void setThumbnailId_Equal(String thumbnailId) {
            setThumbnailId_Term(thumbnailId, null);
        }
    
        public void setThumbnailId_Equal(String thumbnailId, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setThumbnailId_Term(thumbnailId, opLambda);
        }
    
        public void setThumbnailId_Term(String thumbnailId) {
            setThumbnailId_Term(thumbnailId, null);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 51.1K bytes
    - Viewed (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.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top