Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for thumbnail_id (0.11 sec)

  1. 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)
  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) {
            if (logger.isDebugEnabled()) {
    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

                return false;
            }
    
            return process(thumbnailId, responseData -> {
                if (!isImageMimeType(responseData)) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Thumbnail is not image: {} : {}", thumbnailId, responseData.getUrl());
                    }
                    updateThumbnailField(thumbnailId, StringUtil.EMPTY);
                    return false;
                }
    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/BaseThumbnailGenerator.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String thumbnailId = DocumentUtil.getValue(docMap, fessConfig.getIndexFieldId(), String.class);
            final Tuple3<String, String, String> task = new Tuple3<>(getName(), thumbnailId, path);
            if (logger.isDebugEnabled()) {
                logger.debug("Create thumbnail task: {}", task);
            }
            return task;
    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/main/java/org/codelibs/fess/thumbnail/impl/EmptyGenerator.java

         *
         * @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
        public boolean generate(final String thumbnailId, final File outputFile) {
            return false;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            @Override
            public String getName() {
                return "TestGenerator";
            }
    
            @Override
            public boolean generate(String thumbnailId, File outputFile) {
                // Validate inputs
                if (thumbnailId == null || thumbnailId.isEmpty() || outputFile == null) {
                    return false;
                }
    
                // Check if parent directory is writable
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java

         *
         * @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);
    
        /**
         * Checks if this generator can handle the given document.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K 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/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                systemProperties.reload(options.propertiesPath);
            } else {
                try {
                    final File propFile = ComponentUtil.getSystemHelper().createTempFile("thumbnail_", ".properties");
                    if (propFile.delete() && logger.isDebugEnabled()) {
                        logger.debug("Deleted a temp file: {}", propFile.getAbsolutePath());
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top