class javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler extends javax.swing.TransferHandler implements javax.swing.plaf.UIResource
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler
super_class: javax.swing.TransferHandler
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler this
0: .line 1244
aload 0 /* this */
invokespecial javax.swing.TransferHandler.<init>:()V
return
end local 0 // javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicFileChooserUI$FileTransferHandler;
protected java.awt.datatransfer.Transferable createTransferable(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/datatransfer/Transferable;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=10, args_size=2
start local 0 // javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler this
start local 1 // javax.swing.JComponent c
0: .line 1256
aconst_null
astore 2 /* values */
start local 2 // java.lang.Object[] values
1: .line 1257
aload 1 /* c */
instanceof javax.swing.JList
ifeq 4
2: .line 1258
aload 1 /* c */
checkcast javax.swing.JList
invokevirtual javax.swing.JList.getSelectedValues:()[Ljava/lang/Object;
astore 2 /* values */
3: .line 1259
goto 14
StackMap locals: java.lang.Object[]
StackMap stack:
4: aload 1 /* c */
instanceof javax.swing.JTable
ifeq 14
5: .line 1260
aload 1 /* c */
checkcast javax.swing.JTable
astore 3 /* table */
start local 3 // javax.swing.JTable table
6: .line 1261
aload 3 /* table */
invokevirtual javax.swing.JTable.getSelectedRows:()[I
astore 4 /* rows */
start local 4 // int[] rows
7: .line 1262
aload 4 /* rows */
ifnull 14
8: .line 1263
aload 4 /* rows */
arraylength
anewarray java.lang.Object
astore 2 /* values */
9: .line 1264
iconst_0
istore 5 /* i */
start local 5 // int i
10: goto 13
11: .line 1265
StackMap locals: javax.swing.JTable int[] int
StackMap stack:
aload 2 /* values */
iload 5 /* i */
aload 3 /* table */
aload 4 /* rows */
iload 5 /* i */
iaload
iconst_0
invokevirtual javax.swing.JTable.getValueAt:(II)Ljava/lang/Object;
aastore
12: .line 1264
iinc 5 /* i */ 1
StackMap locals:
StackMap stack:
13: iload 5 /* i */
aload 4 /* rows */
arraylength
if_icmplt 11
end local 5 // int i
end local 4 // int[] rows
end local 3 // javax.swing.JTable table
14: .line 1269
StackMap locals:
StackMap stack:
aload 2 /* values */
ifnull 15
aload 2 /* values */
arraylength
ifne 16
15: .line 1270
StackMap locals:
StackMap stack:
aconst_null
areturn
16: .line 1273
StackMap locals:
StackMap stack:
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 3 /* plainBuf */
start local 3 // java.lang.StringBuffer plainBuf
17: .line 1274
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 4 /* htmlBuf */
start local 4 // java.lang.StringBuffer htmlBuf
18: .line 1276
aload 4 /* htmlBuf */
ldc "<html>\n<body>\n<ul>\n"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
19: .line 1278
aload 2 /* values */
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 27
StackMap locals: javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler javax.swing.JComponent java.lang.Object[] java.lang.StringBuffer java.lang.StringBuffer top int int java.lang.Object[]
StackMap stack:
20: aload 8
iload 6
aaload
astore 5 /* obj */
start local 5 // java.lang.Object obj
21: .line 1279
aload 5 /* obj */
ifnonnull 22
ldc ""
goto 23
StackMap locals: javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler javax.swing.JComponent java.lang.Object[] java.lang.StringBuffer java.lang.StringBuffer java.lang.Object int int java.lang.Object[]
StackMap stack:
22: aload 5 /* obj */
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
23: astore 9 /* val */
start local 9 // java.lang.String val
24: .line 1280
aload 3 /* plainBuf */
new java.lang.StringBuilder
dup
aload 9 /* val */
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
25: .line 1281
aload 4 /* htmlBuf */
new java.lang.StringBuilder
dup
ldc " <li>"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9 /* val */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 9 // java.lang.String val
end local 5 // java.lang.Object obj
26: .line 1278
iinc 6 1
StackMap locals: javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler javax.swing.JComponent java.lang.Object[] java.lang.StringBuffer java.lang.StringBuffer top int int java.lang.Object[]
StackMap stack:
27: iload 6
iload 7
if_icmplt 20
28: .line 1285
aload 3 /* plainBuf */
aload 3 /* plainBuf */
invokevirtual java.lang.StringBuffer.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuffer.deleteCharAt:(I)Ljava/lang/StringBuffer;
pop
29: .line 1286
aload 4 /* htmlBuf */
ldc "</ul>\n</body>\n</html>"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
30: .line 1288
new javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler$FileTransferable
dup
aload 3 /* plainBuf */
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
aload 4 /* htmlBuf */
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
aload 2 /* values */
invokespecial javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler$FileTransferable.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
areturn
end local 4 // java.lang.StringBuffer htmlBuf
end local 3 // java.lang.StringBuffer plainBuf
end local 2 // java.lang.Object[] values
end local 1 // javax.swing.JComponent c
end local 0 // javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler this
LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Ljavax/swing/plaf/basic/BasicFileChooserUI$FileTransferHandler;
0 31 1 c Ljavax/swing/JComponent;
1 31 2 values [Ljava/lang/Object;
6 14 3 table Ljavax/swing/JTable;
7 14 4 rows [I
10 14 5 i I
17 31 3 plainBuf Ljava/lang/StringBuffer;
18 31 4 htmlBuf Ljava/lang/StringBuffer;
21 26 5 obj Ljava/lang/Object;
24 26 9 val Ljava/lang/String;
MethodParameters:
Name Flags
c
public int getSourceActions(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 // javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler this
start local 1 // javax.swing.JComponent c
0: .line 1292
iconst_1
ireturn
end local 1 // javax.swing.JComponent c
end local 0 // javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicFileChooserUI$FileTransferHandler;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
}
SourceFile: "BasicFileChooserUI.java"
NestHost: javax.swing.plaf.basic.BasicFileChooserUI
InnerClasses:
FileTransferHandler = javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler of javax.swing.plaf.basic.BasicFileChooserUI
FileTransferable = javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler$FileTransferable of javax.swing.plaf.basic.BasicFileChooserUI$FileTransferHandler