Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Image (0.14 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * audio/mpga=mpga<br>
         * audio/mp4=mp4a<br>
         * audio/ogg=oga<br>
         * audio/x-wav=wav<br>
         * image/webp=webp<br>
         * image/bmp=bmp<br>
         * image/x-icon=ico<br>
         * image/x-icon=ico<br>
         * image/png=png<br>
         * image/svg+xml=svg<br>
         * image/tiff=tiff<br>
         * image/jpeg=jpg<br>
         *  */
        String INDEX_FILETYPE = "index.filetype";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 459.2K bytes
    - Viewed (5)
  2. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

            final String path = imageFile.getAbsolutePath();
            if (path.endsWith(".png")) {
                return "image/png";
            }
            if (path.endsWith(".gif")) {
                return "image/gif";
            }
            if (path.endsWith(".jpg") || path.endsWith(".jpeg")) {
                return "image/jpeg";
            }
            return "application/octet-stream";
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

            final String mimeType = responseData.getMimeType();
            if (mimeType == null) {
                return true;
            }
    
            return switch (mimeType) {
            case "image/png", "image/gif", "image/jpeg", "image/bmp" -> true;
            default -> false;
            };
        }
    
        protected Result saveImage(final ImageInputStream input, final File outputFile) throws IOException {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            BufferedImage img = ImageIO.read(file);
            logger.debug("width: {}, height: {}", img.getWidth(), img.getHeight());
            assertEquals("Image Width", width, img.getWidth());
            assertEquals("Image Height", height, img.getHeight());
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        public static final String ERRORS_design_file_name_is_not_found = "{errors.design_file_name_is_not_found}";
    
        /** The key of the message: Failed to upload an image file. */
        public static final String ERRORS_failed_to_write_design_image_file = "{errors.failed_to_write_design_image_file}";
    
        /** The key of the message: Failed to update a jsp file. */
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 119.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getCrawlerDocumentHtmlPrunedTags() {
                    return "script,div#main,p.image,a[rel=nofollow],div[x-y=a-.:_0]";
                }
            };
    
            PrunedTag[] tags = fessConfig.getCrawlerDocumentHtmlPrunedTagsAsArray();
            assertTrue(matchesTag(tags[0], "<script></script>"));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                        }
                    } else {
                        logger.warn("{} is not available.", generatorName);
                    }
                } else if (logger.isDebugEnabled()) {
                    logger.debug("No image file exists: {}", noImageFile.getAbsolutePath());
                }
            } catch (final Exception e) {
                logger.warn("Failed to create thumbnail for {}", entity, e);
            }
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

        }
    
        public void test_getThumbnailUrl() throws Exception {
            String data = "<meta property=\"og:image\" content=\"http://example/foo.jpg\" />";
            String expected = "http://example/foo.jpg";
            assertGetThumbnailUrl(data, expected);
    
            data = "<meta property=\"og:image\" content=\"://example/foo.jpg\" />";
            expected = "http://example/foo.jpg";
            assertGetThumbnailUrl(data, expected);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 38.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: WEBP Image */
        public static final String LABELS_facet_filetype_wepb = "{labels.facet_filetype_wepb}";
    
        /** The key of the message: BMP Image */
        public static final String LABELS_facet_filetype_bmp = "{labels.facet_filetype_bmp}";
    
        /** The key of the message: ICO Image */
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 146.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                final String currentFileName = fileName;
                saveInfo(messages -> messages.addSuccessUploadDesignFile(GLOBAL, currentFileName));
            } catch (final Exception e) {
                logger.error("Failed to write an image file: {}", fileName, e);
                throwValidationError(messages -> messages.addErrorsFailedToWriteDesignImageFile(GLOBAL), this::asListHtml);
            }
            return redirect(getClass());
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top