public final class com.sun.jndi.cosnaming.IiopUrl
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.cosnaming.IiopUrl
super_class: java.lang.Object
{
private static final int DEFAULT_IIOPNAME_PORT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 9999
private static final int DEFAULT_IIOP_PORT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 900
private static final java.lang.String DEFAULT_HOST;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "localhost"
private java.util.Vector<com.sun.jndi.cosnaming.IiopUrl$Address> addresses;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Lcom/sun/jndi/cosnaming/IiopUrl$Address;>;
private java.lang.String stringName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public java.util.Vector<com.sun.jndi.cosnaming.IiopUrl$Address> getAddresses();
descriptor: ()Ljava/util/Vector;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.cosnaming.IiopUrl.addresses:Ljava/util/Vector;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/cosnaming/IiopUrl;
Signature: ()Ljava/util/Vector<Lcom/sun/jndi/cosnaming/IiopUrl$Address;>;
public java.lang.String getStringName();
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.cosnaming.IiopUrl.stringName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/cosnaming/IiopUrl;
public javax.naming.Name getCosName();
descriptor: ()Ljavax/naming/Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.jndi.cosnaming.CNCtx.parser:Lcom/sun/jndi/cosnaming/CNNameParser;
aload 0
getfield com.sun.jndi.cosnaming.IiopUrl.stringName:Ljava/lang/String;
invokevirtual com.sun.jndi.cosnaming.CNNameParser.parse:(Ljava/lang/String;)Ljavax/naming/Name;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/cosnaming/IiopUrl;
Exceptions:
throws javax.naming.NamingException
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "iiopname://"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
2: iconst_0
istore 3
start local 3 3: bipush 11
istore 2
start local 2 4: goto 10
end local 3 end local 2 StackMap locals: com.sun.jndi.cosnaming.IiopUrl java.lang.String
StackMap stack:
5: aload 1
ldc "iiop://"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
6: iconst_1
istore 3
start local 3 7: bipush 7
istore 2
start local 2 8: goto 10
end local 3 end local 2 9: StackMap locals:
StackMap stack:
new java.net.MalformedURLException
dup
new java.lang.StringBuilder
dup
ldc "Invalid iiop/iiopname URL: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
start local 2 start local 3 10: StackMap locals: int int
StackMap stack:
aload 1
bipush 47
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 4
start local 4 11: iload 4
ifge 15
12: aload 1
invokevirtual java.lang.String.length:()I
istore 4
13: aload 0
ldc ""
putfield com.sun.jndi.cosnaming.IiopUrl.stringName:Ljava/lang/String;
14: goto 16
15: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic com.sun.jndi.toolkit.url.UrlUtil.decode:(Ljava/lang/String;)Ljava/lang/String;
putfield com.sun.jndi.cosnaming.IiopUrl.stringName:Ljava/lang/String;
16: StackMap locals:
StackMap stack:
aload 0
new java.util.Vector
dup
iconst_3
invokespecial java.util.Vector.<init>:(I)V
putfield com.sun.jndi.cosnaming.IiopUrl.addresses:Ljava/util/Vector;
17: iload 3
ifeq 22
18: aload 0
getfield com.sun.jndi.cosnaming.IiopUrl.addresses:Ljava/util/Vector;
19: new com.sun.jndi.cosnaming.IiopUrl$Address
dup
aload 1
iload 2
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 3
invokespecial com.sun.jndi.cosnaming.IiopUrl$Address.<init>:(Ljava/lang/String;Z)V
20: invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
21: goto 29
22: StackMap locals:
StackMap stack:
new java.util.StringTokenizer
dup
aload 1
iload 2
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
ldc ","
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
23: astore 5
start local 5 24: goto 26
25: StackMap locals: java.util.StringTokenizer
StackMap stack:
aload 0
getfield com.sun.jndi.cosnaming.IiopUrl.addresses:Ljava/util/Vector;
new com.sun.jndi.cosnaming.IiopUrl$Address
dup
aload 5
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
iload 3
invokespecial com.sun.jndi.cosnaming.IiopUrl$Address.<init>:(Ljava/lang/String;Z)V
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
26: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 25
27: aload 0
getfield com.sun.jndi.cosnaming.IiopUrl.addresses:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ifne 29
28: aload 0
getfield com.sun.jndi.cosnaming.IiopUrl.addresses:Ljava/util/Vector;
new com.sun.jndi.cosnaming.IiopUrl$Address
dup
ldc ""
iload 3
invokespecial com.sun.jndi.cosnaming.IiopUrl$Address.<init>:(Ljava/lang/String;Z)V
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 5 29: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/sun/jndi/cosnaming/IiopUrl;
0 30 1 url Ljava/lang/String;
4 5 2 addrStart I
8 9 2 addrStart I
10 30 2 addrStart I
3 5 3 oldFormat Z
7 9 3 oldFormat Z
10 30 3 oldFormat Z
11 30 4 addrEnd I
24 29 5 tokens Ljava/util/StringTokenizer;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
url
}
SourceFile: "IiopUrl.java"
NestMembers:
com.sun.jndi.cosnaming.IiopUrl$Address
InnerClasses:
public Address = com.sun.jndi.cosnaming.IiopUrl$Address of com.sun.jndi.cosnaming.IiopUrl