class javax.xml.catalog.Util
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.xml.catalog.Util
super_class: java.lang.Object
{
static final java.lang.String URN;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "urn:publicid:"
static final java.lang.String PUBLICID_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "-//"
static final java.lang.String PUBLICID_PREFIX_ALT;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "+//"
static final java.lang.String SCHEME_FILE;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "file"
static final java.lang.String SCHEME_JAR;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "jar"
static final java.lang.String SCHEME_JARFILE;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "jar:file:"
void <init>();
descriptor: ()V
flags: (0x0000)
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 Ljavax/xml/catalog/Util;
static java.lang.String resolve(javax.xml.catalog.CatalogImpl, java.lang.String, java.lang.String);
descriptor: (Ljavax/xml/catalog/CatalogImpl;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
invokevirtual javax.xml.catalog.CatalogImpl.reset:()V
2: aload 2
ifnull 4
3: aload 0
aload 2
invokevirtual javax.xml.catalog.CatalogImpl.matchSystem:(Ljava/lang/String;)Ljava/lang/String;
astore 3
4: StackMap locals: java.lang.String
StackMap stack:
aload 3
ifnonnull 6
aload 1
ifnull 6
5: aload 0
aload 1
invokevirtual javax.xml.catalog.CatalogImpl.matchPublic:(Ljava/lang/String;)Ljava/lang/String;
astore 3
6: StackMap locals:
StackMap stack:
aload 3
ifnonnull 8
aload 2
ifnull 8
7: aload 0
aload 2
invokevirtual javax.xml.catalog.CatalogImpl.matchURI:(Ljava/lang/String;)Ljava/lang/String;
astore 3
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.xml.catalog.CatalogImpl.markAsSearched:()V
9: aload 3
ifnonnull 16
10: aload 0
invokevirtual javax.xml.catalog.CatalogImpl.catalogs:()Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.iterator:()Ljava/util/Iterator;
astore 4
start local 4 11: goto 15
12: StackMap locals: java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.catalog.CatalogImpl
aload 1
aload 2
invokestatic javax.xml.catalog.Util.resolve:(Ljavax/xml/catalog/CatalogImpl;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
13: aload 3
ifnull 15
14: goto 16
15: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
end local 4 16: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 catalog Ljavax/xml/catalog/CatalogImpl;
0 17 1 publicId Ljava/lang/String;
0 17 2 systemId Ljava/lang/String;
1 17 3 resolvedSystemId Ljava/lang/String;
11 16 4 iter Ljava/util/Iterator<Ljavax/xml/catalog/Catalog;>;
MethodParameters:
Name Flags
catalog
publicId
systemId
static void validateUrisSyntax(java.net.URI[]);
descriptor: ([Ljava/net/URI;)V
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 4
StackMap locals: java.net.URI[] top int int java.net.URI[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokestatic javax.xml.catalog.Util.validateUriSyntax:(Ljava/net/URI;)V
end local 1 3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
iload 3
if_icmplt 1
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 uris [Ljava/net/URI;
2 3 1 uri Ljava/net/URI;
MethodParameters:
Name Flags
uris
static void validateUrisSyntax(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 4
StackMap locals: java.lang.String[] top int int java.lang.String[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
invokestatic javax.xml.catalog.Util.validateUriSyntax:(Ljava/net/URI;)V
end local 1 3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
iload 3
if_icmplt 1
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 uris [Ljava/lang/String;
2 3 1 uri Ljava/lang/String;
MethodParameters:
Name Flags
uris
static void validateUriSyntax(java.net.URI);
descriptor: (Ljava/net/URI;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "URI input"
aload 0
invokestatic javax.xml.catalog.CatalogMessages.reportNPEOnNull:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
invokevirtual java.net.URI.isAbsolute:()Z
ifne 5
2: ldc "UriNotAbsolute"
3: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
aconst_null
4: invokestatic javax.xml.catalog.CatalogMessages.reportIAE:(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
pop
6: goto 11
StackMap locals:
StackMap stack: java.net.MalformedURLException
7: pop
8: ldc "UriNotValidUrl"
9: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
aconst_null
10: invokestatic javax.xml.catalog.CatalogMessages.reportIAE:(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 uri Ljava/net/URI;
Exception table:
from to target type
5 6 7 Class java.net.MalformedURLException
MethodParameters:
Name Flags
uri
static boolean isFileUri(java.net.URI);
descriptor: (Ljava/net/URI;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "file"
aload 0
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
1: ldc "jar"
aload 0
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 uri Ljava/net/URI;
MethodParameters:
Name Flags
uri
static boolean isFileUriExist(java.net.URI, boolean);
descriptor: (Ljava/net/URI;Z)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=11, args_size=2
start local 0 start local 1 0: aload 0
ifnull 23
aload 0
invokevirtual java.net.URI.isAbsolute:()Z
ifeq 23
1: aload 0
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
ifnull 23
2: aload 0
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
104987: 3
3143036: 4
default: 23
}
StackMap locals: java.lang.String
StackMap stack:
3: aload 2
ldc "jar"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
goto 23
StackMap locals:
StackMap stack:
4: aload 2
ldc "file"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
goto 23
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URI.getPath:()Ljava/lang/String;
astore 3
start local 3 6: new java.io.File
dup
aload 3
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
start local 4 7: aload 4
invokevirtual java.io.File.isFile:()Z
ifeq 23
8: iconst_1
ireturn
end local 4 end local 3 9: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URI.toString:()Ljava/lang/String;
astore 5
start local 5 10: aload 5
ldc "!"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 6
start local 6 11: iload 6
ifge 13
12: iconst_0
ireturn
13: StackMap locals: java.net.URI int java.lang.String top top java.lang.String int
StackMap stack:
iload 1
ifeq 22
14: aload 5
ldc "jar:file:"
invokevirtual java.lang.String.length:()I
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 15: aload 5
iload 6
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 8
start local 8 16: new java.util.jar.JarFile
dup
aload 7
invokespecial java.util.jar.JarFile.<init>:(Ljava/lang/String;)V
astore 9
start local 9 17: aload 9
aload 8
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 10
start local 10 18: aload 10
ifnull 23
19: iconst_1
ireturn
end local 10 end local 9 20: StackMap locals: java.net.URI int java.lang.String top top java.lang.String int java.lang.String java.lang.String
StackMap stack: java.io.IOException
pop
21: iconst_0
ireturn
end local 8 end local 7 22: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 6 end local 5 23: StackMap locals: java.net.URI int
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 uri Ljava/net/URI;
0 24 1 openJarFile Z
6 9 3 path Ljava/lang/String;
7 9 4 f1 Ljava/io/File;
10 23 5 tempUri Ljava/lang/String;
11 23 6 pos I
15 22 7 jarFile Ljava/lang/String;
16 22 8 entryName Ljava/lang/String;
17 20 9 jf Ljava/util/jar/JarFile;
18 20 10 je Ljava/util/jar/JarEntry;
Exception table:
from to target type
16 19 20 Class java.io.IOException
MethodParameters:
Name Flags
uri
openJarFile
static java.lang.String[] getCatalogFiles(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic jdk.xml.internal.SecuritySupport.getJAXPSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 3
aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
2: aload 1
ldc ";"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 sysPropertyName Ljava/lang/String;
1 4 1 value Ljava/lang/String;
MethodParameters:
Name Flags
sysPropertyName
static java.lang.String getNotNullOrEmpty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
invokevirtual java.lang.String.length:()I
ifne 5
4: aconst_null
areturn
5: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 test Ljava/lang/String;
3 6 1 temp Ljava/lang/String;
MethodParameters:
Name Flags
test
static void validateFeatureInput(javax.xml.catalog.CatalogFeatures$Feature, java.lang.String);
descriptor: (Ljavax/xml/catalog/CatalogFeatures$Feature;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.xml.catalog.CatalogFeatures$Feature.name:()Ljava/lang/String;
aload 1
invokestatic javax.xml.catalog.CatalogMessages.reportNPEOnNull:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 1
invokevirtual java.lang.String.length:()I
ifne 5
2: ldc "InvalidArgument"
3: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
invokevirtual javax.xml.catalog.CatalogFeatures$Feature.name:()Ljava/lang/String;
aastore
aconst_null
4: invokestatic javax.xml.catalog.CatalogMessages.reportIAE:(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
5: StackMap locals:
StackMap stack:
aload 0
getstatic javax.xml.catalog.CatalogFeatures$Feature.PREFER:Ljavax/xml/catalog/CatalogFeatures$Feature;
if_acmpne 11
6: aload 1
ldc "system"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
aload 1
ldc "public"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
7: ldc "InvalidArgument"
8: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
getstatic javax.xml.catalog.CatalogFeatures$Feature.PREFER:Ljavax/xml/catalog/CatalogFeatures$Feature;
invokevirtual javax.xml.catalog.CatalogFeatures$Feature.name:()Ljava/lang/String;
aastore
aconst_null
9: invokestatic javax.xml.catalog.CatalogMessages.reportIAE:(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
10: goto 26
StackMap locals:
StackMap stack:
11: aload 0
getstatic javax.xml.catalog.CatalogFeatures$Feature.DEFER:Ljavax/xml/catalog/CatalogFeatures$Feature;
if_acmpne 17
12: aload 1
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
aload 1
ldc "false"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
13: ldc "InvalidArgument"
14: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
getstatic javax.xml.catalog.CatalogFeatures$Feature.DEFER:Ljavax/xml/catalog/CatalogFeatures$Feature;
invokevirtual javax.xml.catalog.CatalogFeatures$Feature.name:()Ljava/lang/String;
aastore
aconst_null
15: invokestatic javax.xml.catalog.CatalogMessages.reportIAE:(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
16: goto 26
StackMap locals:
StackMap stack:
17: aload 0
getstatic javax.xml.catalog.CatalogFeatures$Feature.RESOLVE:Ljavax/xml/catalog/CatalogFeatures$Feature;
if_acmpne 24
18: aload 1
ldc "strict"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
aload 1
ldc "continue"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
19: aload 1
ldc "ignore"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
20: ldc "InvalidArgument"
21: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
getstatic javax.xml.catalog.CatalogFeatures$Feature.RESOLVE:Ljavax/xml/catalog/CatalogFeatures$Feature;
invokevirtual javax.xml.catalog.CatalogFeatures$Feature.name:()Ljava/lang/String;
aastore
aconst_null
22: invokestatic javax.xml.catalog.CatalogMessages.reportIAE:(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
23: goto 26
StackMap locals:
StackMap stack:
24: aload 0
getstatic javax.xml.catalog.CatalogFeatures$Feature.FILES:Ljavax/xml/catalog/CatalogFeatures$Feature;
if_acmpne 26
25: aload 1
ldc ";"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
invokestatic javax.xml.catalog.Util.validateUrisSyntax:([Ljava/lang/String;)V
26: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 f Ljavax/xml/catalog/CatalogFeatures$Feature;
0 27 1 value Ljava/lang/String;
MethodParameters:
Name Flags
f
value
}
SourceFile: "Util.java"
InnerClasses:
public final Feature = javax.xml.catalog.CatalogFeatures$Feature of javax.xml.catalog.CatalogFeatures