Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MimeMap (0.09 sec)

  1. src/main/java/jcifs/smb1/util/MimeMap.java

        private static final int ST_EXT = 5;
    
        private final byte[] in;
        private int inLen;
    
        /**
         * Creates a new MimeMap instance by loading MIME type mappings from the resource file.
         *
         * @throws IOException if there is an error reading the mime.map resource file
         */
        public MimeMap() throws IOException {
            int n;
    
            in = new byte[IN_SIZE];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/MimeMapTest.java

                assertEquals("application/pdf", mimeMap.getMimeType("pdf"));
                assertEquals("application/msword", mimeMap.getMimeType("doc"));
                assertEquals("application/vnd.ms-excel", mimeMap.getMimeType("xls"));
                assertEquals("text/html", mimeMap.getMimeType("html"));
                assertEquals("text/html", mimeMap.getMimeType("htm"));
                assertEquals("image/jpeg", mimeMap.getMimeType("jpg"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top