final class com.sun.webkit.FileSystem
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.webkit.FileSystem
super_class: java.lang.Object
{
private static final int TYPE_UNKNOWN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int TYPE_FILE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int TYPE_DIRECTORY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final com.sun.javafx.logging.PlatformLogger logger;
descriptor: Lcom/sun/javafx/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/webkit/FileSystem;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic com.sun.javafx.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lcom/sun/javafx/logging/PlatformLogger;
1: putstatic com.sun.webkit.FileSystem.logger:Lcom/sun/javafx/logging/PlatformLogger;
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/webkit/FileSystem;
private static boolean fwkFileExists(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.exists:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/String;
MethodParameters:
Name Flags
path
private static java.io.RandomAccessFile fwkOpenFile(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/io/RandomAccessFile;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: new java.io.RandomAccessFile
dup
aload 0
aload 1
invokespecial java.io.RandomAccessFile.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 3: getstatic com.sun.webkit.FileSystem.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Error while creating RandomAccessFile for file [%s]"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 4: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 path Ljava/lang/String;
0 5 1 mode Ljava/lang/String;
3 4 2 ex Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.io.FileNotFoundException
0 1 2 Class java.lang.SecurityException
MethodParameters:
Name Flags
path
mode
private static void fwkCloseFile(java.io.RandomAccessFile);
descriptor: (Ljava/io/RandomAccessFile;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.io.RandomAccessFile.close:()V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 1
start local 1 3: getstatic com.sun.webkit.FileSystem.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Error while closing RandomAccessFile for file [%s]"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 raf Ljava/io/RandomAccessFile;
3 4 1 ex Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
raf
private static int fwkReadFromFile(java.io.RandomAccessFile, java.nio.ByteBuffer);
descriptor: (Ljava/io/RandomAccessFile;Ljava/nio/ByteBuffer;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.io.RandomAccessFile.getChannel:()Ljava/nio/channels/FileChannel;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;)I
2: ireturn
end local 2 3: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 4: getstatic com.sun.webkit.FileSystem.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Error while reading RandomAccessFile for file [%s]"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 5: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 raf Ljava/io/RandomAccessFile;
0 6 1 byteBuffer Ljava/nio/ByteBuffer;
1 3 2 fc Ljava/nio/channels/FileChannel;
4 5 2 ex Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
MethodParameters:
Name Flags
raf
byteBuffer
private static void fwkSeekFile(java.io.RandomAccessFile, long);
descriptor: (Ljava/io/RandomAccessFile;J)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual java.io.RandomAccessFile.seek:(J)V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 3
start local 3 3: getstatic com.sun.webkit.FileSystem.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Error while seek RandomAccessFile for file [%s]"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 3
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 raf Ljava/io/RandomAccessFile;
0 5 1 pos J
3 4 3 ex Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
raf
pos
private static long fwkGetFileSize(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
invokevirtual java.io.File.exists:()Z
ifeq 6
2: aload 1
invokevirtual java.io.File.length:()J
3: lreturn
end local 1 4: StackMap locals:
StackMap stack: java.lang.SecurityException
astore 1
start local 1 5: getstatic com.sun.webkit.FileSystem.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Error determining size of file [%s]"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 6: StackMap locals:
StackMap stack:
ldc -1
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 path Ljava/lang/String;
1 4 1 file Ljava/io/File;
5 6 1 ex Ljava/lang/SecurityException;
Exception table:
from to target type
0 3 4 Class java.lang.SecurityException
MethodParameters:
Name Flags
path
private static boolean fwkGetFileMetadata(java.lang.String, long[]);
descriptor: (Ljava/lang/String;[J)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
invokevirtual java.io.File.exists:()Z
ifeq 14
2: aload 1
iconst_0
aload 2
invokevirtual java.io.File.lastModified:()J
lastore
3: aload 1
iconst_1
aload 2
invokevirtual java.io.File.length:()J
lastore
4: aload 2
invokevirtual java.io.File.isDirectory:()Z
ifeq 7
5: aload 1
iconst_2
ldc 2
lastore
6: goto 11
StackMap locals: java.io.File
StackMap stack:
7: aload 2
invokevirtual java.io.File.isFile:()Z
ifeq 10
8: aload 1
iconst_2
lconst_1
lastore
9: goto 11
10: StackMap locals:
StackMap stack:
aload 1
iconst_2
lconst_0
lastore
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 12: StackMap locals: java.lang.String long[]
StackMap stack: java.lang.SecurityException
astore 2
start local 2 13: getstatic com.sun.webkit.FileSystem.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Error determining Metadata for file [%s]"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 14: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 path Ljava/lang/String;
0 15 1 metadataArray [J
1 12 2 file Ljava/io/File;
13 14 2 ex Ljava/lang/SecurityException;
Exception table:
from to target type
0 11 12 Class java.lang.SecurityException
MethodParameters:
Name Flags
path
metadataArray
private static java.lang.String fwkPathByAppendingComponent(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new java.io.File
dup
aload 0
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.io.File.getPath:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/String;
0 1 1 component Ljava/lang/String;
MethodParameters:
Name Flags
path
component
private static boolean fwkMakeAllDirectories(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.attribute.FileAttribute
invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
pop
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: getstatic com.sun.webkit.FileSystem.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Error creating directory [%s]"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;Ljava/lang/Throwable;)V
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 path Ljava/lang/String;
3 5 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.nio.file.InvalidPathException
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
path
private static java.lang.String fwkPathGetFileName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/String;
MethodParameters:
Name Flags
path
}
SourceFile: "FileSystem.java"