public class sun.awt.windows.WDesktopPeer implements java.awt.peer.DesktopPeer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.windows.WDesktopPeer
super_class: java.lang.Object
{
private static java.lang.String ACTION_OPEN_VERB;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String ACTION_EDIT_VERB;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String ACTION_PRINT_VERB;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "open"
putstatic sun.awt.windows.WDesktopPeer.ACTION_OPEN_VERB:Ljava/lang/String;
1: ldc "edit"
putstatic sun.awt.windows.WDesktopPeer.ACTION_EDIT_VERB:Ljava/lang/String;
2: ldc "print"
putstatic sun.awt.windows.WDesktopPeer.ACTION_PRINT_VERB:Ljava/lang/String;
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 Lsun/awt/windows/WDesktopPeer;
public boolean isSupported(java.awt.Desktop$Action);
descriptor: (Ljava/awt/Desktop$Action;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WDesktopPeer;
0 1 1 action Ljava/awt/Desktop$Action;
MethodParameters:
Name Flags
action
public void open(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic sun.awt.windows.WDesktopPeer.ACTION_OPEN_VERB:Ljava/lang/String;
invokevirtual sun.awt.windows.WDesktopPeer.ShellExecute:(Ljava/io/File;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WDesktopPeer;
0 2 1 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public void edit(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic sun.awt.windows.WDesktopPeer.ACTION_EDIT_VERB:Ljava/lang/String;
invokevirtual sun.awt.windows.WDesktopPeer.ShellExecute:(Ljava/io/File;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WDesktopPeer;
0 2 1 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public void print(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic sun.awt.windows.WDesktopPeer.ACTION_PRINT_VERB:Ljava/lang/String;
invokevirtual sun.awt.windows.WDesktopPeer.ShellExecute:(Ljava/io/File;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WDesktopPeer;
0 2 1 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public void mail(java.net.URI);
descriptor: (Ljava/net/URI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic sun.awt.windows.WDesktopPeer.ACTION_OPEN_VERB:Ljava/lang/String;
invokevirtual sun.awt.windows.WDesktopPeer.ShellExecute:(Ljava/net/URI;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WDesktopPeer;
0 2 1 uri Ljava/net/URI;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
uri
public void browse(java.net.URI);
descriptor: (Ljava/net/URI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic sun.awt.windows.WDesktopPeer.ACTION_OPEN_VERB:Ljava/lang/String;
invokevirtual sun.awt.windows.WDesktopPeer.ShellExecute:(Ljava/net/URI;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WDesktopPeer;
0 2 1 uri Ljava/net/URI;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
uri
private void ShellExecute(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 2
invokestatic sun.awt.windows.WDesktopPeer.ShellExecute:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnull 3
2: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Failed to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ". Error message: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
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
3: StackMap locals: java.lang.String
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/windows/WDesktopPeer;
0 4 1 file Ljava/io/File;
0 4 2 verb Ljava/lang/String;
1 4 3 errMsg Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
verb
private void ShellExecute(java.net.URI, java.lang.String);
descriptor: (Ljava/net/URI;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.net.URI.toString:()Ljava/lang/String;
aload 2
invokestatic sun.awt.windows.WDesktopPeer.ShellExecute:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnull 5
2: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Failed to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc ". Error message: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.String
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/windows/WDesktopPeer;
0 6 1 uri Ljava/net/URI;
0 6 2 verb Ljava/lang/String;
1 6 3 errmsg Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
uri
verb
private static native java.lang.String ShellExecute(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fileOrUri
verb
}
SourceFile: "WDesktopPeer.java"
InnerClasses:
public final Action = java.awt.Desktop$Action of java.awt.Desktop