public class com.sun.org.apache.xml.internal.utils.SystemIDResolver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.utils.SystemIDResolver
super_class: java.lang.Object
{
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 Lcom/sun/org/apache/xml/internal/utils/SystemIDResolver;
public static java.lang.String getAbsoluteURIFromRelative(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
astore 1
start local 1 3: aload 0
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.isAbsolutePath:(Ljava/lang/String;)Z
ifne 8
4: aload 0
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.getAbsolutePathFromRelativePath:(Ljava/lang/String;)Ljava/lang/String;
astore 1
5: goto 8
6: StackMap locals: java.lang.String java.lang.String
StackMap stack: java.lang.SecurityException
pop
7: new java.lang.StringBuilder
dup
ldc "file:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
8: StackMap locals:
StackMap stack:
aload 1
ifnull 14
9: aload 1
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 12
10: new java.lang.StringBuilder
dup
ldc "file://"
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;
astore 2
start local 2 11: goto 15
end local 2 12: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "file:///"
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;
astore 2
start local 2 13: goto 15
end local 2 14: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "file:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 15: StackMap locals: java.lang.String
StackMap stack:
aload 2
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.replaceChars:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 localPath Ljava/lang/String;
3 16 1 absolutePath Ljava/lang/String;
11 12 2 urlString Ljava/lang/String;
13 14 2 urlString Ljava/lang/String;
15 16 2 urlString Ljava/lang/String;
Exception table:
from to target type
4 5 6 Class java.lang.SecurityException
MethodParameters:
Name Flags
localPath
private static java.lang.String getAbsolutePathFromRelativePath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 relativePath Ljava/lang/String;
MethodParameters:
Name Flags
relativePath
public static boolean isAbsoluteURI(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.isWindowsAbsolutePath:(Ljava/lang/String;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
bipush 35
invokevirtual java.lang.String.indexOf:(I)I
istore 1
start local 1 3: aload 0
bipush 63
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 4: aload 0
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 5: aload 0
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 4
start local 4 6: aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
istore 5
start local 5 7: iload 1
ifle 9
8: iload 1
istore 5
9: StackMap locals: java.lang.String int int int int int
StackMap stack:
iload 2
ifle 11
iload 2
iload 5
if_icmpge 11
10: iload 2
istore 5
11: StackMap locals:
StackMap stack:
iload 3
ifle 13
iload 3
iload 5
if_icmpge 13
12: iload 3
istore 5
13: StackMap locals:
StackMap stack:
iload 4
ifle 14
iload 4
iload 5
if_icmpge 14
iconst_1
ireturn
StackMap locals:
StackMap stack:
14: iconst_0
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 systemId Ljava/lang/String;
3 15 1 fragmentIndex I
4 15 2 queryIndex I
5 15 3 slashIndex I
6 15 4 colonIndex I
7 15 5 index I
MethodParameters:
Name Flags
systemId
public static boolean isAbsolutePath(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: aload 1
invokevirtual java.io.File.isAbsolute:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 systemId Ljava/lang/String;
3 4 1 file Ljava/io/File;
MethodParameters:
Name Flags
systemId
private static boolean isWindowsAbsolutePath(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.isAbsolutePath:(Ljava/lang/String;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
iconst_2
if_icmple 7
3: aload 0
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 7
4: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isLetter:(C)Z
ifeq 7
5: aload 0
iconst_2
invokevirtual java.lang.String.charAt:(I)C
bipush 92
if_icmpeq 6
aload 0
iconst_2
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 7
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 systemId Ljava/lang/String;
MethodParameters:
Name Flags
systemId
private static java.lang.String replaceChars(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
aload 0
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
invokevirtual java.lang.StringBuffer.length:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 14
4: StackMap locals: java.lang.StringBuffer int int
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.StringBuffer.charAt:(I)C
istore 4
start local 4 5: iload 4
bipush 32
if_icmpne 11
6: aload 1
iload 3
bipush 37
invokevirtual java.lang.StringBuffer.setCharAt:(IC)V
7: aload 1
iload 3
iconst_1
iadd
ldc "20"
invokevirtual java.lang.StringBuffer.insert:(ILjava/lang/String;)Ljava/lang/StringBuffer;
pop
8: iinc 2 2
9: iinc 3 2
10: goto 13
11: StackMap locals: int
StackMap stack:
iload 4
bipush 92
if_icmpne 13
12: aload 1
iload 3
bipush 47
invokevirtual java.lang.StringBuffer.setCharAt:(IC)V
end local 4 13: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
iload 2
if_icmplt 4
end local 3 15: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 str Ljava/lang/String;
1 16 1 buf Ljava/lang/StringBuffer;
2 16 2 length I
3 15 3 i I
5 13 4 currentChar C
MethodParameters:
Name Flags
str
public static java.lang.String getAbsoluteURI(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: aload 0
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.isAbsoluteURI:(Ljava/lang/String;)Z
ifeq 19
2: aload 0
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 18
3: aload 0
iconst_5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
start local 2 4: aload 2
ifnull 16
aload 2
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 16
5: aload 2
ldc "///"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 6
aload 2
ldc "//"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 17
6: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
bipush 58
iconst_5
invokevirtual java.lang.String.indexOf:(II)I
istore 3
start local 3 7: iload 3
ifle 17
8: aload 0
iload 3
iconst_1
isub
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 9: aload 4
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.isAbsolutePath:(Ljava/lang/String;)Z
ifne 17
10: new java.lang.StringBuilder
dup
aload 0
iconst_0
iload 3
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 4
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.getAbsolutePathFromRelativePath:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
13: goto 17
14: StackMap locals: java.lang.String java.lang.String java.lang.String int java.lang.String
StackMap stack: java.lang.SecurityException
pop
15: aload 0
areturn
end local 4 end local 3 16: StackMap locals:
StackMap stack:
aload 0
iconst_5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.getAbsoluteURIFromRelative:(Ljava/lang/String;)Ljava/lang/String;
areturn
17: StackMap locals:
StackMap stack:
aload 1
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.replaceChars:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 18: StackMap locals:
StackMap stack:
aload 0
areturn
19: StackMap locals:
StackMap stack:
aload 0
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.getAbsoluteURIFromRelative:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 systemId Ljava/lang/String;
1 20 1 absoluteURI Ljava/lang/String;
4 18 2 str Ljava/lang/String;
7 16 3 secondColonIndex I
9 16 4 localPath Ljava/lang/String;
Exception table:
from to target type
9 13 14 Class java.lang.SecurityException
MethodParameters:
Name Flags
systemId
public static java.lang.String getAbsoluteURI(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.getAbsoluteURI:(Ljava/lang/String;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.getAbsoluteURI:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 3: aconst_null
astore 3
start local 3 4: new com.sun.org.apache.xml.internal.utils.URI
dup
aload 2
invokespecial com.sun.org.apache.xml.internal.utils.URI.<init>:(Ljava/lang/String;)V
astore 4
start local 4 5: new com.sun.org.apache.xml.internal.utils.URI
dup
aload 4
aload 0
invokespecial com.sun.org.apache.xml.internal.utils.URI.<init>:(Lcom/sun/org/apache/xml/internal/utils/URI;Ljava/lang/String;)V
astore 3
end local 4 6: goto 9
7: StackMap locals: java.lang.String java.lang.String java.lang.String com.sun.org.apache.xml.internal.utils.URI
StackMap stack: com.sun.org.apache.xml.internal.utils.URI$MalformedURIException
astore 4
start local 4 8: new javax.xml.transform.TransformerException
dup
aload 4
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 9: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.sun.org.apache.xml.internal.utils.URI.toString:()Ljava/lang/String;
invokestatic com.sun.org.apache.xml.internal.utils.SystemIDResolver.replaceChars:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 urlString Ljava/lang/String;
0 10 1 base Ljava/lang/String;
3 10 2 absoluteBase Ljava/lang/String;
4 10 3 uri Lcom/sun/org/apache/xml/internal/utils/URI;
5 6 4 baseURI Lcom/sun/org/apache/xml/internal/utils/URI;
8 9 4 mue Lcom/sun/org/apache/xml/internal/utils/URI$MalformedURIException;
Exception table:
from to target type
4 6 7 Class com.sun.org.apache.xml.internal.utils.URI$MalformedURIException
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
urlString
base
}
SourceFile: "SystemIDResolver.java"
InnerClasses:
public MalformedURIException = com.sun.org.apache.xml.internal.utils.URI$MalformedURIException of com.sun.org.apache.xml.internal.utils.URI