public abstract class sun.nio.fs.AbstractFileTypeDetector extends java.nio.file.spi.FileTypeDetector
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: sun.nio.fs.AbstractFileTypeDetector
  super_class: java.nio.file.spi.FileTypeDetector
{
  private static final java.lang.String TSPECIALS;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "()<>@,;:/[]?=\\\""

  protected void <init>();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.nio.fs.AbstractFileTypeDetector this
         0: .line 43
            aload 0 /* this */
            invokespecial java.nio.file.spi.FileTypeDetector.<init>:()V
         1: .line 44
            return
        end local 0 // sun.nio.fs.AbstractFileTypeDetector this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/nio/fs/AbstractFileTypeDetector;

  protected final java.lang.String getExtension(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // sun.nio.fs.AbstractFileTypeDetector this
        start local 1 // java.lang.String name
         0: .line 57
            ldc ""
            astore 2 /* ext */
        start local 2 // java.lang.String ext
         1: .line 58
            aload 1 /* name */
            ifnull 5
            aload 1 /* name */
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 5
         2: .line 59
            aload 1 /* name */
            bipush 46
            invokevirtual java.lang.String.indexOf:(I)I
            istore 3 /* dot */
        start local 3 // int dot
         3: .line 60
            iload 3 /* dot */
            iflt 5
            iload 3 /* dot */
            aload 1 /* name */
            invokevirtual java.lang.String.length:()I
            iconst_1
            isub
            if_icmpge 5
         4: .line 61
            aload 1 /* name */
            iload 3 /* dot */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 2 /* ext */
        end local 3 // int dot
         5: .line 64
      StackMap locals: java.lang.String
      StackMap stack:
            aload 2 /* ext */
            areturn
        end local 2 // java.lang.String ext
        end local 1 // java.lang.String name
        end local 0 // sun.nio.fs.AbstractFileTypeDetector this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/nio/fs/AbstractFileTypeDetector;
            0    6     1  name  Ljava/lang/String;
            1    6     2   ext  Ljava/lang/String;
            3    5     3   dot  I
    MethodParameters:
      Name  Flags
      name  

  public final java.lang.String probeContentType(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // sun.nio.fs.AbstractFileTypeDetector this
        start local 1 // java.nio.file.Path file
         0: .line 73
            aload 1 /* file */
            ifnonnull 2
         1: .line 74
            new java.lang.NullPointerException
            dup
            ldc "'file' is null"
            invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 75
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* file */
            invokevirtual sun.nio.fs.AbstractFileTypeDetector.implProbeContentType:(Ljava/nio/file/Path;)Ljava/lang/String;
            astore 2 /* result */
        start local 2 // java.lang.String result
         3: .line 78
            aload 2 /* result */
            ifnonnull 8
         4: .line 79
            aload 1 /* file */
            invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
            astore 3 /* fileName */
        start local 3 // java.nio.file.Path fileName
         5: .line 80
            aload 3 /* fileName */
            ifnull 8
         6: .line 81
            invokestatic java.net.URLConnection.getFileNameMap:()Ljava/net/FileNameMap;
            astore 4 /* fileNameMap */
        start local 4 // java.net.FileNameMap fileNameMap
         7: .line 82
            aload 4 /* fileNameMap */
            aload 3 /* fileName */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            invokeinterface java.net.FileNameMap.getContentTypeFor:(Ljava/lang/String;)Ljava/lang/String;
            astore 2 /* result */
        end local 4 // java.net.FileNameMap fileNameMap
        end local 3 // java.nio.file.Path fileName
         8: .line 86
      StackMap locals: java.lang.String
      StackMap stack:
            aload 2 /* result */
            ifnonnull 9
            aconst_null
            goto 10
      StackMap locals:
      StackMap stack:
         9: aload 2 /* result */
            invokestatic sun.nio.fs.AbstractFileTypeDetector.parse:(Ljava/lang/String;)Ljava/lang/String;
      StackMap locals:
      StackMap stack: java.lang.String
        10: areturn
        end local 2 // java.lang.String result
        end local 1 // java.nio.file.Path file
        end local 0 // sun.nio.fs.AbstractFileTypeDetector this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   11     0         this  Lsun/nio/fs/AbstractFileTypeDetector;
            0   11     1         file  Ljava/nio/file/Path;
            3   11     2       result  Ljava/lang/String;
            5    8     3     fileName  Ljava/nio/file/Path;
            7    8     4  fileNameMap  Ljava/net/FileNameMap;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      file  

  protected abstract java.lang.String implProbeContentType(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      file  

  private static java.lang.String parse(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // java.lang.String s
         0: .line 100
            aload 0 /* s */
            bipush 47
            invokevirtual java.lang.String.indexOf:(I)I
            istore 1 /* slash */
        start local 1 // int slash
         1: .line 101
            aload 0 /* s */
            bipush 59
            invokevirtual java.lang.String.indexOf:(I)I
            istore 2 /* semicolon */
        start local 2 // int semicolon
         2: .line 102
            iload 1 /* slash */
            ifge 4
         3: .line 103
            aconst_null
            areturn
         4: .line 104
      StackMap locals: int int
      StackMap stack:
            aload 0 /* s */
            iconst_0
            iload 1 /* slash */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
            invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
            astore 3 /* type */
        start local 3 // java.lang.String type
         5: .line 105
            aload 3 /* type */
            invokestatic sun.nio.fs.AbstractFileTypeDetector.isValidToken:(Ljava/lang/String;)Z
            ifne 7
         6: .line 106
            aconst_null
            areturn
         7: .line 107
      StackMap locals: java.lang.String
      StackMap stack:
            iload 2 /* semicolon */
            ifge 8
            aload 0 /* s */
            iload 1 /* slash */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            goto 9
         8: .line 108
      StackMap locals:
      StackMap stack:
            aload 0 /* s */
            iload 1 /* slash */
            iconst_1
            iadd
            iload 2 /* semicolon */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
         9: .line 107
      StackMap locals:
      StackMap stack: java.lang.String
            astore 4 /* subtype */
        start local 4 // java.lang.String subtype
        10: .line 109
            aload 4 /* subtype */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
            invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
            astore 4 /* subtype */
        11: .line 110
            aload 4 /* subtype */
            invokestatic sun.nio.fs.AbstractFileTypeDetector.isValidToken:(Ljava/lang/String;)Z
            ifne 13
        12: .line 111
            aconst_null
            areturn
        13: .line 112
      StackMap locals: java.lang.String
      StackMap stack:
            new java.lang.StringBuilder
            dup
            aload 3 /* type */
            invokevirtual java.lang.String.length:()I
            aload 4 /* subtype */
            invokevirtual java.lang.String.length:()I
            iadd
            iconst_1
            iadd
            invokespecial java.lang.StringBuilder.<init>:(I)V
            astore 5 /* sb */
        start local 5 // java.lang.StringBuilder sb
        14: .line 113
            aload 5 /* sb */
            aload 3 /* type */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        15: .line 114
            aload 5 /* sb */
            bipush 47
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        16: .line 115
            aload 5 /* sb */
            aload 4 /* subtype */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        17: .line 116
            aload 5 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 5 // java.lang.StringBuilder sb
        end local 4 // java.lang.String subtype
        end local 3 // java.lang.String type
        end local 2 // int semicolon
        end local 1 // int slash
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   18     0          s  Ljava/lang/String;
            1   18     1      slash  I
            2   18     2  semicolon  I
            5   18     3       type  Ljava/lang/String;
           10   18     4    subtype  Ljava/lang/String;
           14   18     5         sb  Ljava/lang/StringBuilder;
    MethodParameters:
      Name  Flags
      s     

  private static boolean isTokenChar(char);
    descriptor: (C)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // char c
         0: .line 128
            iload 0 /* c */
            bipush 32
            if_icmple 1
            iload 0 /* c */
            bipush 127
            if_icmpge 1
            ldc "()<>@,;:/[]?=\\\""
            iload 0 /* c */
            invokevirtual java.lang.String.indexOf:(I)I
            ifge 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // char c
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0     c  C
    MethodParameters:
      Name  Flags
      c     

  private static boolean isValidToken(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // java.lang.String s
         0: .line 135
            aload 0 /* s */
            invokevirtual java.lang.String.length:()I
            istore 1 /* len */
        start local 1 // int len
         1: .line 136
            iload 1 /* len */
            ifne 3
         2: .line 137
            iconst_0
            ireturn
         3: .line 138
      StackMap locals: int
      StackMap stack:
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         4: goto 8
         5: .line 139
      StackMap locals: int
      StackMap stack:
            aload 0 /* s */
            iload 2 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            invokestatic sun.nio.fs.AbstractFileTypeDetector.isTokenChar:(C)Z
            ifne 7
         6: .line 140
            iconst_0
            ireturn
         7: .line 138
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         8: iload 2 /* i */
            iload 1 /* len */
            if_icmplt 5
        end local 2 // int i
         9: .line 142
            iconst_1
            ireturn
        end local 1 // int len
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0     s  Ljava/lang/String;
            1   10     1   len  I
            4    9     2     i  I
    MethodParameters:
      Name  Flags
      s     
}
SourceFile: "AbstractFileTypeDetector.java"