public class com.sun.jndi.dns.DnsUrl extends com.sun.jndi.toolkit.url.Uri
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.jndi.dns.DnsUrl
super_class: com.sun.jndi.toolkit.url.Uri
{
private java.lang.String domain;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public static com.sun.jndi.dns.DnsUrl[] fromList(java.lang.String);
descriptor: (Ljava/lang/String;)[Lcom/sun/jndi/dns/DnsUrl;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
iconst_1
iadd
iconst_2
idiv
anewarray com.sun.jndi.dns.DnsUrl
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: new java.util.StringTokenizer
dup
aload 0
ldc " "
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 3: goto 5
4: StackMap locals: com.sun.jndi.dns.DnsUrl[] int java.util.StringTokenizer
StackMap stack:
aload 1
iload 2
iinc 2 1
new com.sun.jndi.dns.DnsUrl
dup
aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokespecial com.sun.jndi.dns.DnsUrl.<init>:(Ljava/lang/String;)V
aastore
5: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 4
6: iload 2
anewarray com.sun.jndi.dns.DnsUrl
astore 4
start local 4 7: aload 1
iconst_0
aload 4
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: 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 9 0 urlList Ljava/lang/String;
1 9 1 urls [Lcom/sun/jndi/dns/DnsUrl;
2 9 2 i I
3 9 3 st Ljava/util/StringTokenizer;
7 9 4 trimmed [Lcom/sun/jndi/dns/DnsUrl;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
urlList
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.jndi.toolkit.url.Uri.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.sun.jndi.dns.DnsUrl.scheme:Ljava/lang/String;
ldc "dns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
2: new java.net.MalformedURLException
dup
3: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " is not a valid DNS pseudo-URL"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: com.sun.jndi.dns.DnsUrl java.lang.String
StackMap stack:
aload 0
aload 0
getfield com.sun.jndi.dns.DnsUrl.path:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 7
6: aload 0
getfield com.sun.jndi.dns.DnsUrl.path:Ljava/lang/String;
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 8
7: StackMap locals:
StackMap stack: com.sun.jndi.dns.DnsUrl
aload 0
getfield com.sun.jndi.dns.DnsUrl.path:Ljava/lang/String;
8: StackMap locals: com.sun.jndi.dns.DnsUrl java.lang.String
StackMap stack: com.sun.jndi.dns.DnsUrl java.lang.String
putfield com.sun.jndi.dns.DnsUrl.domain:Ljava/lang/String;
9: aload 0
aload 0
getfield com.sun.jndi.dns.DnsUrl.domain:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 11
10: ldc "."
goto 12
11: StackMap locals:
StackMap stack: com.sun.jndi.dns.DnsUrl
aload 0
getfield com.sun.jndi.dns.DnsUrl.domain:Ljava/lang/String;
invokestatic com.sun.jndi.toolkit.url.UrlUtil.decode:(Ljava/lang/String;)Ljava/lang/String;
12: StackMap locals: com.sun.jndi.dns.DnsUrl java.lang.String
StackMap stack: com.sun.jndi.dns.DnsUrl java.lang.String
putfield com.sun.jndi.dns.DnsUrl.domain:Ljava/lang/String;
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/jndi/dns/DnsUrl;
0 14 1 url Ljava/lang/String;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
url
public java.lang.String getDomain();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.dns.DnsUrl.domain:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/dns/DnsUrl;
}
SourceFile: "DnsUrl.java"