Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for inPage (0.05 seconds)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                return true;
            }
    
            return switch (mimeType) {
            case "image/png", "image/gif", "image/jpeg", "image/bmp" -> true;
            default -> false;
            };
        }
    
        /**
         * Processes and saves an image from the input stream to the output file as a thumbnail.
         *
         * <p>This method reads image data, validates dimensions, applies subsampling and scaling
    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/impl/BaseThumbnailGeneratorTest.java

            assertTrue("application/pdf".matches("application/pdf"));
            assertTrue("image/jpeg".matches("image/jpeg"));
            assertTrue("image/png".matches("image/png"));
            assertTrue("image/gif".matches("image/gif"));
            assertTrue("image/tiff".matches("image/tiff"));
        }
    
        @Test
        public void test_addConditionWithSvgMimetype() {
    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)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        }
    
        // Test all supported image MIME types in one comprehensive test
        @Test
        public void test_getExtensionFromMimeType_allImageTypes() {
            final String[][] testCases = { { "image/gif", ".gif" }, { "image/tiff", ".tiff" }, { "image/svg+xml", ".svg" },
                    { "image/jpeg", ".jpg" }, { "image/png", ".png" }, { "image/bmp", ".bmp" }, { "image/x-windows-bmp", ".bmp" },
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

            fileTypeHelper.add("text/plain", "text");
            assertEquals("text", fileTypeHelper.get("text/plain"));
    
            fileTypeHelper.add("image/jpeg", "image");
            assertEquals("image", fileTypeHelper.get("image/jpeg"));
        }
    
        @Test
        public void test_get() {
            fileTypeHelper.add("application/pdf", "pdf");
            fileTypeHelper.add("text/plain", "text");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  5. src/main/resources/fess_thumbnail.xml

    			<arg>"image/x-windows-bmp"
    			</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"image/x-ms-bmp"
    			</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"image/gif"
    			</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"image/png"
    			</arg>
    		</postConstruct>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. AI_POLICY.md

    A pull request is not a finished product—it is the start of a conversation, and an implied contract: we promise to provide thoughtful feedback, and we expect the contributor to engage with us in return.
    
    ## What we expect from contributors
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            }
            return switch (mimeType) {
            case "image/gif" -> ".gif";
            case "image/tiff" -> ".tiff";
            case "image/svg+xml" -> ".svg";
            case "image/jpeg" -> ".jpg";
            case "image/png" -> ".png";
            case "image/bmp", "image/x-windows-bmp", "image/x-ms-bmp" -> ".bmp";
            case "image/vnd.adobe.photoshop", "image/photoshop", "application/x-photoshop", "application/photoshop" -> ".psd";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            Exception cause = new RuntimeException("Image processing error");
            ThumbnailGenerationException exception = new ThumbnailGenerationException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertEquals("Image processing error", exception.getCause().getMessage());
        }
    
        @Test
    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)
  9. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

                    return false;
                }
    
                String mimeTypeStr = mimeType.toString();
                // Support PDF and common image formats
                return "application/pdf".equals(mimeTypeStr) || "image/jpeg".equals(mimeTypeStr) || "image/png".equals(mimeTypeStr);
            }
    
            @Override
            public boolean isAvailable() {
                return available;
            }
    
    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)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

                defaultMap.put(FessConfig.INDEX_REINDEX_SIZE, "100");
                defaultMap.put(FessConfig.INDEX_REINDEX_BODY,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 576.9K bytes
    - Click Count (2)
Back to Top