Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 493 for mime (0.05 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

                // Test case 1: SVG MIME type should match
                Map<String, Object> svgDocMap = new HashMap<>();
                svgDocMap.put("thumbnail", "http://example.com/image.svg");
                svgDocMap.put("mimetype", "image/svg+xml");
                assertTrue("SVG MIME type should be target", generator.isTarget(svgDocMap));
    
                // Test case 2: Different MIME type should not match
    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)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        }
    
        // ==================== Tests for getExtensionFromMimeType method ====================
    
        // Tests for GIF MIME type
        @Test
        public void test_getExtensionFromMimeType_gif() {
            assertEquals(".gif", generator.getExtensionFromMimeType("image/gif"));
        }
    
        // Tests for TIFF MIME type
        @Test
        public void test_getExtensionFromMimeType_tiff() {
    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)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

            });
    
        }
    
        /**
         * Checks if the response data contains an image MIME type that can be processed
         * for thumbnail generation.
         *
         * @param responseData the response data containing MIME type information
         * @return true if the MIME type represents a supported image format, false otherwise
         */
        protected boolean isImageMimeType(final ResponseData responseData) {
    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)
  4. api/go1.5.txt

    pkg math/big, type RoundingMode uint8
    pkg mime, const BEncoding = 98
    pkg mime, const BEncoding WordEncoder
    pkg mime, const QEncoding = 113
    pkg mime, const QEncoding WordEncoder
    pkg mime, func ExtensionsByType(string) ([]string, error)
    pkg mime, method (*WordDecoder) Decode(string) (string, error)
    pkg mime, method (*WordDecoder) DecodeHeader(string) (string, error)
    pkg mime, method (WordEncoder) Encode(string, string) string
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Click Count (0)
  5. api/go1.9.txt

    pkg math/bits, func TrailingZeros32(uint32) int
    pkg math/bits, func TrailingZeros64(uint64) int
    pkg math/bits, func TrailingZeros8(uint8) int
    pkg mime, var ErrInvalidMediaParameter error
    pkg mime/multipart, type FileHeader struct, Size int64
    pkg mime/multipart, var ErrMessageTooLarge error
    pkg net, method (*IPConn) SyscallConn() (syscall.RawConn, error)
    pkg net, method (*TCPConn) SyscallConn() (syscall.RawConn, error)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/net/MediaType.java

       * Format</a> ({@code crw} files), a widely-used "raw image" format for cameras. It is found in
       * {@code /etc/mime.types}, e.g. in <a href=
       * "http://anonscm.debian.org/gitweb/?p=collab-maint/mime-support.git;a=blob;f=mime.types;hb=HEAD"
       * >Debian 3.48-1</a>.
       *
       * @since 15.0
       */
      public static final MediaType CRW = createConstant(IMAGE_TYPE, "x-canon-crw");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

        ) {
          private val boundary: ByteString = boundary.encodeUtf8()
          private var type = MIXED
          private val parts = mutableListOf<Part>()
    
          /**
           * Set the MIME type. Expected values for `type` are [MIXED] (the default), [ALTERNATIVE],
           * [DIGEST], [PARALLEL] and [FORM].
           */
          fun setType(type: MediaType) =
            apply {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

        }
    
        @Test
        public void test_getAccessResultList_withFilterTx() {
            final String sessionId = "callback_session3";
    
            // Insert test data with different MIME types
            final OpenSearchAccessResult htmlResult = new OpenSearchAccessResult();
            htmlResult.setContentLength(Long.valueOf(100));
            htmlResult.setCreateTime(System.currentTimeMillis());
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 15.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            this.commandDestroyTimeout = commandDestroyTimeout;
        }
    
        /**
         * Gets file extension from MIME type for creating temp files with proper extensions.
         * This helps ImageMagick correctly identify file formats.
         * @param mimeType The MIME type of the content.
         * @return The file extension including the dot (e.g., ".gif"), or empty string if unknown.
         */
    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)
  10. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

                assertTrue(outputFile.exists());
            }
        }
    
        @Test
        public void test_isTarget_withVariousMimeTypes() {
            // Test with various MIME types
            String[] supportedTypes = { "application/pdf", "image/jpeg", "image/png" };
            String[] unsupportedTypes = { "text/plain", "application/xml", "audio/mp3" };
    
            for (String mimeType : supportedTypes) {
    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)
Back to Top