class sun.nio.fs.MimeTypesFileTypeDetector extends sun.nio.fs.AbstractFileTypeDetector
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.nio.fs.MimeTypesFileTypeDetector
  super_class: sun.nio.fs.AbstractFileTypeDetector
{
  private final java.nio.file.Path mimeTypesFile;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.util.Map<java.lang.String, java.lang.String> mimeTypeMap;
    descriptor: Ljava/util/Map;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;

  private volatile boolean loaded;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  public void <init>(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.nio.fs.MimeTypesFileTypeDetector this
        start local 1 // java.nio.file.Path filePath
         0: .line 57
            aload 0 /* this */
            invokespecial sun.nio.fs.AbstractFileTypeDetector.<init>:()V
         1: .line 58
            aload 0 /* this */
            aload 1 /* filePath */
            putfield sun.nio.fs.MimeTypesFileTypeDetector.mimeTypesFile:Ljava/nio/file/Path;
         2: .line 59
            return
        end local 1 // java.nio.file.Path filePath
        end local 0 // sun.nio.fs.MimeTypesFileTypeDetector this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Lsun/nio/fs/MimeTypesFileTypeDetector;
            0    3     1  filePath  Ljava/nio/file/Path;
    MethodParameters:
          Name  Flags
      filePath  

  protected java.lang.String implProbeContentType(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // sun.nio.fs.MimeTypesFileTypeDetector this
        start local 1 // java.nio.file.Path path
         0: .line 63
            aload 1 /* path */
            invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
            astore 2 /* fn */
        start local 2 // java.nio.file.Path fn
         1: .line 64
            aload 2 /* fn */
            ifnonnull 3
         2: .line 65
            aconst_null
            areturn
         3: .line 67
      StackMap locals: java.nio.file.Path
      StackMap stack:
            aload 0 /* this */
            aload 2 /* fn */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            invokevirtual sun.nio.fs.MimeTypesFileTypeDetector.getExtension:(Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* ext */
        start local 3 // java.lang.String ext
         4: .line 68
            aload 3 /* ext */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 6
         5: .line 69
            aconst_null
            areturn
         6: .line 71
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.nio.fs.MimeTypesFileTypeDetector.loadMimeTypes:()V
         7: .line 72
            aload 0 /* this */
            getfield sun.nio.fs.MimeTypesFileTypeDetector.mimeTypeMap:Ljava/util/Map;
            ifnull 8
            aload 0 /* this */
            getfield sun.nio.fs.MimeTypesFileTypeDetector.mimeTypeMap:Ljava/util/Map;
            invokeinterface java.util.Map.isEmpty:()Z
            ifeq 9
         8: .line 73
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
         9: .line 78
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.nio.fs.MimeTypesFileTypeDetector.mimeTypeMap:Ljava/util/Map;
            aload 3 /* ext */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* mimeType */
        start local 4 // java.lang.String mimeType
        10: .line 79
            aload 4 /* mimeType */
            ifnonnull 12
        11: .line 80
            aload 0 /* this */
            aload 3 /* ext */
            invokevirtual sun.nio.fs.MimeTypesFileTypeDetector.getExtension:(Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* ext */
        12: .line 81
      StackMap locals: java.lang.String
      StackMap stack:
            aload 4 /* mimeType */
            ifnonnull 13
            aload 3 /* ext */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 9
        13: .line 83
      StackMap locals:
      StackMap stack:
            aload 4 /* mimeType */
            areturn
        end local 4 // java.lang.String mimeType
        end local 3 // java.lang.String ext
        end local 2 // java.nio.file.Path fn
        end local 1 // java.nio.file.Path path
        end local 0 // sun.nio.fs.MimeTypesFileTypeDetector this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   14     0      this  Lsun/nio/fs/MimeTypesFileTypeDetector;
            0   14     1      path  Ljava/nio/file/Path;
            1   14     2        fn  Ljava/nio/file/Path;
            4   14     3       ext  Ljava/lang/String;
           10   14     4  mimeType  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      path  

  private void loadMimeTypes();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // sun.nio.fs.MimeTypesFileTypeDetector this
         0: .line 93
            aload 0 /* this */
            getfield sun.nio.fs.MimeTypesFileTypeDetector.loaded:Z
            ifne 23
         1: .line 94
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         2: .line 95
            aload 0 /* this */
            getfield sun.nio.fs.MimeTypesFileTypeDetector.loaded:Z
            ifne 19
         3: .line 97
            new sun.nio.fs.MimeTypesFileTypeDetector$1
            dup
            aload 0 /* this */
            invokespecial sun.nio.fs.MimeTypesFileTypeDetector$1.<init>:(Lsun/nio/fs/MimeTypesFileTypeDetector;)V
         4: .line 96
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.util.List
            astore 2 /* lines */
        start local 2 // java.util.List lines
         5: .line 109
            aload 0 /* this */
            new java.util.HashMap
            dup
            aload 2 /* lines */
            invokeinterface java.util.List.size:()I
            invokespecial java.util.HashMap.<init>:(I)V
            putfield sun.nio.fs.MimeTypesFileTypeDetector.mimeTypeMap:Ljava/util/Map;
         6: .line 110
            ldc ""
            astore 3 /* entry */
        start local 3 // java.lang.String entry
         7: .line 111
            aload 2 /* lines */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 15
      StackMap locals: sun.nio.fs.MimeTypesFileTypeDetector sun.nio.fs.MimeTypesFileTypeDetector java.util.List java.lang.String top java.util.Iterator
      StackMap stack:
         8: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* line */
        start local 4 // java.lang.String line
         9: .line 112
            new java.lang.StringBuilder
            dup
            aload 3 /* entry */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 4 /* line */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* entry */
        10: .line 113
            aload 3 /* entry */
            ldc "\\"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 13
        11: .line 114
            aload 3 /* entry */
            iconst_0
            aload 3 /* entry */
            invokevirtual java.lang.String.length:()I
            iconst_1
            isub
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 3 /* entry */
        12: .line 115
            goto 15
        13: .line 117
      StackMap locals: sun.nio.fs.MimeTypesFileTypeDetector sun.nio.fs.MimeTypesFileTypeDetector java.util.List java.lang.String java.lang.String java.util.Iterator
      StackMap stack:
            aload 0 /* this */
            aload 3 /* entry */
            invokevirtual sun.nio.fs.MimeTypesFileTypeDetector.parseMimeEntry:(Ljava/lang/String;)V
        14: .line 118
            ldc ""
            astore 3 /* entry */
        end local 4 // java.lang.String line
        15: .line 111
      StackMap locals: sun.nio.fs.MimeTypesFileTypeDetector sun.nio.fs.MimeTypesFileTypeDetector java.util.List java.lang.String top java.util.Iterator
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        16: .line 120
            aload 3 /* entry */
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 18
        17: .line 121
            aload 0 /* this */
            aload 3 /* entry */
            invokevirtual sun.nio.fs.MimeTypesFileTypeDetector.parseMimeEntry:(Ljava/lang/String;)V
        18: .line 123
      StackMap locals: sun.nio.fs.MimeTypesFileTypeDetector sun.nio.fs.MimeTypesFileTypeDetector java.util.List java.lang.String
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.nio.fs.MimeTypesFileTypeDetector.loaded:Z
        end local 3 // java.lang.String entry
        end local 2 // java.util.List lines
        19: .line 94
      StackMap locals:
      StackMap stack:
            aload 1
            monitorexit
        20: goto 23
      StackMap locals:
      StackMap stack: java.lang.Throwable
        21: aload 1
            monitorexit
        22: athrow
        23: .line 127
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.nio.fs.MimeTypesFileTypeDetector this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   24     0   this  Lsun/nio/fs/MimeTypesFileTypeDetector;
            5   19     2  lines  Ljava/util/List<Ljava/lang/String;>;
            7   19     3  entry  Ljava/lang/String;
            9   15     4   line  Ljava/lang/String;
      Exception table:
        from    to  target  type
           2    20      21  any
          21    22      21  any

  private void parseMimeEntry(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=16, args_size=2
        start local 0 // sun.nio.fs.MimeTypesFileTypeDetector this
        start local 1 // java.lang.String entry
         0: .line 140
            aload 1 /* entry */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            astore 1 /* entry */
         1: .line 141
            aload 1 /* entry */
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 2
            aload 1 /* entry */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            bipush 35
            if_icmpne 3
         2: .line 142
      StackMap locals:
      StackMap stack:
            return
         3: .line 144
      StackMap locals:
      StackMap stack:
            aload 1 /* entry */
            ldc "\\s*#.*"
            ldc ""
            invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            astore 1 /* entry */
         4: .line 145
            aload 1 /* entry */
            bipush 61
            invokevirtual java.lang.String.indexOf:(I)I
            istore 2 /* equalIdx */
        start local 2 // int equalIdx
         5: .line 146
            iload 2 /* equalIdx */
            ifle 28
         6: .line 149
            ldc "\\btype=(\"\\p{Graph}+?/\\p{Graph}+?\"|\\p{Graph}+/\\p{Graph}+\\b)"
            astore 3 /* typeRegex */
        start local 3 // java.lang.String typeRegex
         7: .line 151
            aload 3 /* typeRegex */
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            astore 4 /* typePattern */
        start local 4 // java.util.regex.Pattern typePattern
         8: .line 152
            aload 4 /* typePattern */
            aload 1 /* entry */
            invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
            astore 5 /* typeMatcher */
        start local 5 // java.util.regex.Matcher typeMatcher
         9: .line 154
            aload 5 /* typeMatcher */
            invokevirtual java.util.regex.Matcher.find:()Z
            ifeq 33
        10: .line 155
            aload 5 /* typeMatcher */
            invokevirtual java.util.regex.Matcher.group:()Ljava/lang/String;
            ldc "type="
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 6 /* type */
        start local 6 // java.lang.String type
        11: .line 156
            aload 6 /* type */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            bipush 34
            if_icmpne 13
        12: .line 157
            aload 6 /* type */
            iconst_1
            aload 6 /* type */
            invokevirtual java.lang.String.length:()I
            iconst_1
            isub
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 6 /* type */
        13: .line 161
      StackMap locals: sun.nio.fs.MimeTypesFileTypeDetector java.lang.String int java.lang.String java.util.regex.Pattern java.util.regex.Matcher java.lang.String
      StackMap stack:
            ldc "\\bexts=(\"[\\p{Graph}\\p{Blank}]+?\"|\\p{Graph}+\\b)"
            astore 7 /* extRegex */
        start local 7 // java.lang.String extRegex
        14: .line 163
            aload 7 /* extRegex */
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            astore 8 /* extPattern */
        start local 8 // java.util.regex.Pattern extPattern
        15: .line 164
            aload 8 /* extPattern */
            aload 1 /* entry */
            invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
            astore 9 /* extMatcher */
        start local 9 // java.util.regex.Matcher extMatcher
        16: .line 166
            aload 9 /* extMatcher */
            invokevirtual java.util.regex.Matcher.find:()Z
            ifeq 33
        17: .line 168
            aload 9 /* extMatcher */
            invokevirtual java.util.regex.Matcher.group:()Ljava/lang/String;
            ldc "exts="
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
        18: .line 167
            astore 10 /* exts */
        start local 10 // java.lang.String exts
        19: .line 169
            aload 10 /* exts */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            bipush 34
            if_icmpne 21
        20: .line 170
            aload 10 /* exts */
            iconst_1
            aload 10 /* exts */
            invokevirtual java.lang.String.length:()I
            iconst_1
            isub
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 10 /* exts */
        21: .line 172
      StackMap locals: sun.nio.fs.MimeTypesFileTypeDetector java.lang.String int java.lang.String java.util.regex.Pattern java.util.regex.Matcher java.lang.String java.lang.String java.util.regex.Pattern java.util.regex.Matcher java.lang.String
      StackMap stack:
            aload 10 /* exts */
            ldc "[\\p{Blank}\\p{Punct}]+"
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 11 /* extList */
        start local 11 // java.lang.String[] extList
        22: .line 173
            aload 11 /* extList */
            dup
            astore 15
            arraylength
            istore 14
            iconst_0
            istore 13
            goto 26
      StackMap locals: sun.nio.fs.MimeTypesFileTypeDetector java.lang.String int java.lang.String java.util.regex.Pattern java.util.regex.Matcher java.lang.String java.lang.String java.util.regex.Pattern java.util.regex.Matcher java.lang.String java.lang.String[] top int int java.lang.String[]
      StackMap stack:
        23: aload 15
            iload 13
            aaload
            astore 12 /* ext */
        start local 12 // java.lang.String ext
        24: .line 174
            aload 0 /* this */
            aload 12 /* ext */
            aload 6 /* type */
            invokevirtual sun.nio.fs.MimeTypesFileTypeDetector.putIfAbsent:(Ljava/lang/String;Ljava/lang/String;)V
        end local 12 // java.lang.String ext
        25: .line 173
            iinc 13 1
      StackMap locals:
      StackMap stack:
        26: iload 13
            iload 14
            if_icmplt 23
        end local 11 // java.lang.String[] extList
        end local 10 // java.lang.String exts
        end local 9 // java.util.regex.Matcher extMatcher
        end local 8 // java.util.regex.Pattern extPattern
        end local 7 // java.lang.String extRegex
        end local 6 // java.lang.String type
        end local 5 // java.util.regex.Matcher typeMatcher
        end local 4 // java.util.regex.Pattern typePattern
        end local 3 // java.lang.String typeRegex
        27: .line 178
            goto 33
        28: .line 180
      StackMap locals: sun.nio.fs.MimeTypesFileTypeDetector java.lang.String int
      StackMap stack:
            aload 1 /* entry */
            ldc "\\s+"
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 3 /* elements */
        start local 3 // java.lang.String[] elements
        29: .line 181
            iconst_1
            istore 4 /* i */
        start local 4 // int i
        30: .line 182
            goto 32
        31: .line 183
      StackMap locals: java.lang.String[] int
      StackMap stack:
            aload 0 /* this */
            aload 3 /* elements */
            iload 4 /* i */
            iinc 4 /* i */ 1
            aaload
            aload 3 /* elements */
            iconst_0
            aaload
            invokevirtual sun.nio.fs.MimeTypesFileTypeDetector.putIfAbsent:(Ljava/lang/String;Ljava/lang/String;)V
        32: .line 182
      StackMap locals:
      StackMap stack:
            iload 4 /* i */
            aload 3 /* elements */
            arraylength
            if_icmplt 31
        end local 4 // int i
        end local 3 // java.lang.String[] elements
        33: .line 186
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int equalIdx
        end local 1 // java.lang.String entry
        end local 0 // sun.nio.fs.MimeTypesFileTypeDetector this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   34     0         this  Lsun/nio/fs/MimeTypesFileTypeDetector;
            0   34     1        entry  Ljava/lang/String;
            5   34     2     equalIdx  I
            7   27     3    typeRegex  Ljava/lang/String;
            8   27     4  typePattern  Ljava/util/regex/Pattern;
            9   27     5  typeMatcher  Ljava/util/regex/Matcher;
           11   27     6         type  Ljava/lang/String;
           14   27     7     extRegex  Ljava/lang/String;
           15   27     8   extPattern  Ljava/util/regex/Pattern;
           16   27     9   extMatcher  Ljava/util/regex/Matcher;
           19   27    10         exts  Ljava/lang/String;
           22   27    11      extList  [Ljava/lang/String;
           24   25    12          ext  Ljava/lang/String;
           29   33     3     elements  [Ljava/lang/String;
           30   33     4            i  I
    MethodParameters:
       Name  Flags
      entry  

  private void putIfAbsent(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // sun.nio.fs.MimeTypesFileTypeDetector this
        start local 1 // java.lang.String key
        start local 2 // java.lang.String value
         0: .line 189
            aload 1 /* key */
            ifnull 4
            aload 1 /* key */
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 4
         1: .line 190
            aload 2 /* value */
            ifnull 4
            aload 2 /* value */
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 4
         2: .line 191
            aload 0 /* this */
            getfield sun.nio.fs.MimeTypesFileTypeDetector.mimeTypeMap:Ljava/util/Map;
            aload 1 /* key */
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifne 4
         3: .line 193
            aload 0 /* this */
            getfield sun.nio.fs.MimeTypesFileTypeDetector.mimeTypeMap:Ljava/util/Map;
            aload 1 /* key */
            aload 2 /* value */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 195
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.String value
        end local 1 // java.lang.String key
        end local 0 // sun.nio.fs.MimeTypesFileTypeDetector this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Lsun/nio/fs/MimeTypesFileTypeDetector;
            0    5     1    key  Ljava/lang/String;
            0    5     2  value  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      key    
      value  
}
SourceFile: "MimeTypesFileTypeDetector.java"
NestMembers:
  sun.nio.fs.MimeTypesFileTypeDetector$1
InnerClasses:
  sun.nio.fs.MimeTypesFileTypeDetector$1