public class com.apple.eio.FileManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.eio.FileManager
super_class: java.lang.Object
{
public static final short kOnAppropriateDisk;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -32767
public static final short kSystemDomain;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -32766
public static final short kLocalDomain;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -32765
public static final short kNetworkDomain;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -32764
public static final short kUserDomain;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -32763
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new sun.security.action.LoadLibraryAction
dup
ldc "osx"
invokespecial sun.security.action.LoadLibraryAction.<init>:(Ljava/lang/String;)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 java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/eio/FileManager;
public static int OSTypeToInt(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_4
newarray 8
astore 2
start local 2 2: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 3: iload 3
ifle 6
4: iload 3
iconst_4
if_icmple 5
iconst_4
istore 3
5: StackMap locals: int byte[] int
StackMap stack:
aload 0
iconst_0
iload 3
aload 2
iconst_4
iload 3
isub
invokevirtual java.lang.String.getBytes:(II[BI)V
6: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 7: goto 11
8: StackMap locals: int
StackMap stack:
iload 4
ifle 9
iload 1
bipush 8
ishl
istore 1
9: StackMap locals:
StackMap stack:
iload 1
aload 2
iload 4
baload
sipush 255
iand
ior
istore 1
10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 3
if_icmplt 8
end local 4 12: iload 1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 type Ljava/lang/String;
1 13 1 result I
2 13 2 b [B
3 13 3 len I
7 12 4 i I
MethodParameters:
Name Flags
type
public static void setFileTypeAndCreator(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
aload 0
invokevirtual java.lang.SecurityManager.checkWrite:(Ljava/lang/String;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
iload 1
iload 2
invokestatic com.apple.eio.FileManager._setFileTypeAndCreator:(Ljava/lang/String;II)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 filename Ljava/lang/String;
0 5 1 type I
0 5 2 creator I
1 5 3 security Ljava/lang/SecurityManager;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
filename
type
creator
private static native void _setFileTypeAndCreator(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
filename
type
creator
public static void setFileType(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 0
invokevirtual java.lang.SecurityManager.checkWrite:(Ljava/lang/String;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
iload 1
invokestatic com.apple.eio.FileManager._setFileType:(Ljava/lang/String;I)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 filename Ljava/lang/String;
0 5 1 type I
1 5 2 security Ljava/lang/SecurityManager;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
filename
type
private static native void _setFileType(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
filename
type
public static void setFileCreator(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 0
invokevirtual java.lang.SecurityManager.checkWrite:(Ljava/lang/String;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
iload 1
invokestatic com.apple.eio.FileManager._setFileCreator:(Ljava/lang/String;I)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 filename Ljava/lang/String;
0 5 1 creator I
1 5 2 security Ljava/lang/SecurityManager;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
filename
creator
private static native void _setFileCreator(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
filename
creator
public static int getFileType(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
aload 0
invokevirtual java.lang.SecurityManager.checkRead:(Ljava/lang/String;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
invokestatic com.apple.eio.FileManager._getFileType:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 filename Ljava/lang/String;
1 4 1 security Ljava/lang/SecurityManager;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
filename
private static native int _getFileType(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
filename
public static int getFileCreator(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
aload 0
invokevirtual java.lang.SecurityManager.checkRead:(Ljava/lang/String;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
invokestatic com.apple.eio.FileManager._getFileCreator:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 filename Ljava/lang/String;
1 4 1 security Ljava/lang/SecurityManager;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
filename
private static native int _getFileCreator(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
filename
public static java.lang.String findFolder(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: sipush -32767
iload 0
invokestatic com.apple.eio.FileManager.findFolder:(SI)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 folderType I
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
folderType
public static java.lang.String findFolder(short, int);
descriptor: (SI)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
iconst_0
invokestatic com.apple.eio.FileManager.findFolder:(SIZ)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 domain S
0 1 1 folderType I
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
domain
folderType
public static java.lang.String findFolder(short, int, boolean);
descriptor: (SIZ)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
new java.lang.RuntimePermission
dup
ldc "canExamineFileSystem"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
iload 0
iload 1
iload 2
invokestatic com.apple.eio.FileManager._findFolder:(SIZ)Ljava/lang/String;
astore 4
start local 4 4: aload 4
ifnonnull 5
new java.io.FileNotFoundException
dup
new java.lang.StringBuilder
dup
ldc "Can't find folder: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.String
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 domain S
0 6 1 folderType I
0 6 2 createIfNeeded Z
1 6 3 security Ljava/lang/SecurityManager;
4 6 4 foundFolder Ljava/lang/String;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
domain
folderType
createIfNeeded
private static native java.lang.String _findFolder(short, int, boolean);
descriptor: (SIZ)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
domain
folderType
createIfNeeded
public static void openURL(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
new java.lang.RuntimePermission
dup
ldc "canOpenURLs"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
invokestatic com.apple.eio.FileManager._openURL:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 url Ljava/lang/String;
1 5 1 security Ljava/lang/SecurityManager;
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
url
private static native void _openURL(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
public static java.lang.String getResource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
invokestatic com.apple.eio.FileManager.getResourceFromBundle:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 resourceName Ljava/lang/String;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
resourceName
public static java.lang.String getResource(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokestatic com.apple.eio.FileManager.getResourceFromBundle:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 resourceName Ljava/lang/String;
0 1 1 subDirName Ljava/lang/String;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
resourceName
subDirName
public static java.lang.String getResource(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic com.apple.eio.FileManager.getResourceFromBundle:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 resourceName Ljava/lang/String;
0 1 1 subDirName Ljava/lang/String;
0 1 2 type Ljava/lang/String;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
resourceName
subDirName
type
private static native java.lang.String getNativeResourceFromBundle(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
resourceName
subDirName
type
private static java.lang.String getResourceFromBundle(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 1: aload 3
ifnull 2
aload 3
new java.lang.RuntimePermission
dup
ldc "canReadBundle"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
2: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
aload 1
aload 2
invokestatic com.apple.eio.FileManager.getNativeResourceFromBundle:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 3: aload 4
ifnonnull 4
new java.io.FileNotFoundException
dup
aload 0
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.String
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 resourceName Ljava/lang/String;
0 5 1 subDirName Ljava/lang/String;
0 5 2 type Ljava/lang/String;
1 5 3 security Ljava/lang/SecurityManager;
3 5 4 resourceFromBundle Ljava/lang/String;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
resourceName
subDirName
type
public static java.lang.String getPathToApplicationBundle();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnull 2
aload 0
new java.lang.RuntimePermission
dup
ldc "canReadBundle"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
2: StackMap locals: java.lang.SecurityManager
StackMap stack:
invokestatic com.apple.eio.FileManager.getNativePathToApplicationBundle:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 security Ljava/lang/SecurityManager;
private static native java.lang.String getNativePathToApplicationBundle();
descriptor: ()Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public static boolean moveToTrash(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.io.File.exists:()Z
ifne 2
StackMap locals:
StackMap stack:
1: new java.io.FileNotFoundException
dup
invokespecial java.io.FileNotFoundException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
astore 1
start local 1 3: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 4: aload 2
ifnull 5
aload 2
aload 1
invokevirtual java.lang.SecurityManager.checkWrite:(Ljava/lang/String;)V
5: StackMap locals: java.lang.String java.lang.SecurityManager
StackMap stack:
aload 1
invokestatic com.apple.eio.FileManager._moveToTrash:(Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 file Ljava/io/File;
3 6 1 fileName Ljava/lang/String;
4 6 2 security Ljava/lang/SecurityManager;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
file final
private static native boolean _moveToTrash(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fileName
public static boolean revealInFinder(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.io.File.exists:()Z
ifne 2
StackMap locals:
StackMap stack:
1: new java.io.FileNotFoundException
dup
invokespecial java.io.FileNotFoundException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
astore 1
start local 1 3: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 4: aload 2
ifnull 5
aload 2
aload 1
invokevirtual java.lang.SecurityManager.checkRead:(Ljava/lang/String;)V
5: StackMap locals: java.lang.String java.lang.SecurityManager
StackMap stack:
aload 1
invokestatic com.apple.eio.FileManager._revealInFinder:(Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 file Ljava/io/File;
3 6 1 fileName Ljava/lang/String;
4 6 2 security Ljava/lang/SecurityManager;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
file final
private static native boolean _revealInFinder(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fileName
}
SourceFile: "FileManager.java"