public class sun.nio.fs.RegistryFileTypeDetector extends sun.nio.fs.AbstractFileTypeDetector
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.nio.fs.RegistryFileTypeDetector
super_class: sun.nio.fs.AbstractFileTypeDetector
{
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.nio.fs.RegistryFileTypeDetector$1
dup
invokespecial sun.nio.fs.RegistryFileTypeDetector$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.nio.fs.AbstractFileTypeDetector.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/RegistryFileTypeDetector;
public java.lang.String implProbeContentType(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.nio.file.Path
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: java.nio.file.Path
StackMap stack:
aload 2
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 4
start local 4 7: iload 4
iflt 8
iload 4
aload 3
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpne 9
8: StackMap locals: java.lang.String int
StackMap stack:
aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 3
iload 4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
start local 5 10: aload 5
invokestatic sun.nio.fs.WindowsNativeDispatcher.asNativeBuffer:(Ljava/lang/String;)Lsun/nio/fs/NativeBuffer;
astore 6
start local 6 11: ldc "Content Type"
invokestatic sun.nio.fs.WindowsNativeDispatcher.asNativeBuffer:(Ljava/lang/String;)Lsun/nio/fs/NativeBuffer;
astore 7
start local 7 12: aload 6
invokevirtual sun.nio.fs.NativeBuffer.address:()J
aload 7
invokevirtual sun.nio.fs.NativeBuffer.address:()J
invokestatic sun.nio.fs.RegistryFileTypeDetector.queryStringValue:(JJ)Ljava/lang/String;
astore 9
13: aload 7
invokevirtual sun.nio.fs.NativeBuffer.release:()V
14: aload 6
invokevirtual sun.nio.fs.NativeBuffer.release:()V
15: aload 9
areturn
16: StackMap locals: sun.nio.fs.RegistryFileTypeDetector java.nio.file.Path java.nio.file.Path java.lang.String int java.lang.String sun.nio.fs.NativeBuffer sun.nio.fs.NativeBuffer
StackMap stack: java.lang.Throwable
astore 8
17: aload 7
invokevirtual sun.nio.fs.NativeBuffer.release:()V
18: aload 6
invokevirtual sun.nio.fs.NativeBuffer.release:()V
19: aload 8
athrow
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/nio/fs/RegistryFileTypeDetector;
0 20 1 file Ljava/nio/file/Path;
3 20 2 name Ljava/nio/file/Path;
6 20 3 filename Ljava/lang/String;
7 20 4 dot I
10 20 5 key Ljava/lang/String;
11 20 6 keyBuffer Lsun/nio/fs/NativeBuffer;
12 20 7 nameBuffer Lsun/nio/fs/NativeBuffer;
Exception table:
from to target type
12 13 16 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
private static native java.lang.String queryStringValue(long, long);
descriptor: (JJ)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
subKey
name
}
SourceFile: "RegistryFileTypeDetector.java"
NestMembers:
sun.nio.fs.RegistryFileTypeDetector$1
InnerClasses:
sun.nio.fs.RegistryFileTypeDetector$1