Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 87 for THUMBNAIL (0.07 seconds)

  1. src/main/resources/fess_thumbnail.xml

    	<component name="msofficeThumbnailGenerator" class="org.codelibs.fess.thumbnail.impl.CommandGenerator">
    		<property name="name">"msofficeThumbnailGenerator"</property>
    		<property name="commandList">
    			["${path}/generate-thumbnail",
    			"msoffice",
    			"${url}",
    			"${outputFile}"]
    		</property>
    		<property name="generatorList">
    			["${path}/generate-thumbnail"]
    		</property>
    		<postConstruct name="addCondition">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            Exception middleCause = new RuntimeException("Processing failed", innerCause);
            ThumbnailGenerationException exception = new ThumbnailGenerationException("Thumbnail generation error", middleCause);
    
            assertEquals("Thumbnail generation error", exception.getMessage());
            assertEquals(middleCause, exception.getCause());
            assertEquals("Processing failed", exception.getCause().getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

        //                                                                      ==============
        /**
         * Serves a thumbnail image for the specified document.
         *
         * @param form the thumbnail request form containing document ID and query parameters
         * @return ActionResponse containing the thumbnail image or 404 if not found
         */
        @Execute
        public ActionResponse index(final ThumbnailForm form) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                String imagePath = "thumbnail/600x400.png";
                try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) {
                    generator.saveImage(input, outputFile);
                }
                assertImageSize(outputFile, 100, 66);
    
                imagePath = "thumbnail/600x400.gif";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

     * 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. */
        static final Logger logger = LogManager.getLogger(GenerateThumbnailJob.class);
    
        /** Number of threads to use for thumbnail generation. */
        protected int numOfThreads = 1;
    
    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. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

            assertEquals("Deleted 1 thumbnail files.", result);
        }
    
        // Test execute with successful purge (multiple files deleted)
        @Test
        public void test_execute_multipleFilesDeleted() {
            thumbnailManager.setPurgeCallCount(100);
    
            String result = purgeThumbnailJob.execute();
    
            assertEquals("Deleted 100 thumbnail files.", result);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exception/ThumbnailGenerationException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when thumbnail generation fails.
     * This exception is used for errors during thumbnail creation and processing.
     */
    public class ThumbnailGenerationException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 08:04:23 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top