class javax.swing.filechooser.UnixFileSystemView extends javax.swing.filechooser.FileSystemView
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.filechooser.UnixFileSystemView
super_class: javax.swing.filechooser.FileSystemView
{
private static final java.lang.String newFolderString;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String newFolderNextString;
descriptor: Ljava/lang/String;
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 "FileChooser.other.newFolder"
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;)Ljava/lang/String;
1: putstatic javax.swing.filechooser.UnixFileSystemView.newFolderString:Ljava/lang/String;
2: ldc "FileChooser.other.newFolder.subsequent"
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;)Ljava/lang/String;
3: putstatic javax.swing.filechooser.UnixFileSystemView.newFolderNextString:Ljava/lang/String;
4: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.filechooser.FileSystemView.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/filechooser/UnixFileSystemView;
public java.io.File createNewFolder(java.io.File);
descriptor: (Ljava/io/File;)Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.io.IOException
dup
ldc "Containing directory is null:"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
getstatic javax.swing.filechooser.UnixFileSystemView.newFolderString:Ljava/lang/String;
invokevirtual javax.swing.filechooser.UnixFileSystemView.createFileObject:(Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
astore 2
start local 2 3: iconst_1
istore 3
start local 3 4: goto 9
5: StackMap locals: java.io.File int
StackMap stack:
aload 0
aload 1
6: getstatic javax.swing.filechooser.UnixFileSystemView.newFolderNextString:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
7: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual javax.swing.filechooser.UnixFileSystemView.createFileObject:(Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
astore 2
8: iinc 3 1
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.File.exists:()Z
ifeq 10
iload 3
bipush 100
if_icmplt 5
10: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.File.exists:()Z
ifeq 12
11: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Directory already exists:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.io.File.getAbsolutePath:()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.IOException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.File.mkdirs:()Z
ifne 14
13: new java.io.IOException
dup
aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/filechooser/UnixFileSystemView;
0 15 1 containingDir Ljava/io/File;
3 15 2 newFolder Ljava/io/File;
4 15 3 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
containingDir
public boolean isFileSystemRoot(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/filechooser/UnixFileSystemView;
0 2 1 dir Ljava/io/File;
MethodParameters:
Name Flags
dir
public boolean isDrive(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.filechooser.UnixFileSystemView.isFloppyDrive:(Ljava/io/File;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/filechooser/UnixFileSystemView;
0 1 1 dir Ljava/io/File;
MethodParameters:
Name Flags
dir
public boolean isFloppyDrive(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/filechooser/UnixFileSystemView;
0 1 1 dir Ljava/io/File;
MethodParameters:
Name Flags
dir
public boolean isComputerNode(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 4
1: aload 1
invokevirtual java.io.File.getParent:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 4
aload 2
ldc "/net"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/filechooser/UnixFileSystemView;
0 5 1 dir Ljava/io/File;
2 4 2 parent Ljava/lang/String;
MethodParameters:
Name Flags
dir
}
SourceFile: "FileSystemView.java"