Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for imatge (0.16 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 (4)
  2. 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)
  3. 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)
  4. 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)
  5. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

      private static final String IMGUR_CLIENT_ID = "9199fdef135c122";
      private static final MediaType MEDIA_TYPE_PNG = MediaType.get("image/png");
    
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        RequestBody requestBody = new MultipartBody.Builder()
            .setType(MultipartBody.FORM)
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jun 24 12:59:42 GMT 2019
    - 2.2K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        private static final String META_NAME_THUMBNAIL_CONTENT = "//META[@name=\"thumbnail\" or @name=\"THUMBNAIL\"]/@content";
    
        private static final String META_PROPERTY_OGIMAGE_CONTENT = "//META[@property=\"og:image\"]/@content";
    
        private static final String META_NAME_ROBOTS_CONTENT = "//META[@name=\"robots\" or @name=\"ROBOTS\"]/@content";
    
        private static final String ROBOTS_TAG_NONE = "none";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 41.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            if (excludeExtensions == null) {
                excludeExtensions = split(getThumbnailHtmlImageExcludeExtensions(), ",").get(stream -> stream
                        .map(s -> s.toLowerCase(Locale.ROOT).trim()).filter(StringUtil::isNotBlank).toArray(n -> new String[n]));
                propMap.put(THUMBNAIL_HTML_IMAGE_EXCLUDE_EXTENSIONS, excludeExtensions);
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 85K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

            final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/ccc.gif";
            final String contentType = MimeTypeUtil.guessContentType(path);
            assertEquals("image/gif", contentType);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFromPath() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top