public class org.eclipse.jetty.util.resource.ResourceCollection extends org.eclipse.jetty.util.resource.Resource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.resource.ResourceCollection
super_class: org.eclipse.jetty.util.resource.Resource
{
private org.eclipse.jetty.util.resource.Resource[] _resources;
descriptor: [Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.util.resource.Resource.<init>:()V
1: aload 0
iconst_0
anewarray org.eclipse.jetty.util.resource.Resource
putfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
public void <init>(org.eclipse.jetty.util.resource.Resource[]);
descriptor: ([Lorg/eclipse/jetty/util/resource/Resource;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.eclipse.jetty.util.resource.Resource.<init>:()V
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 12
StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection org.eclipse.jetty.util.resource.Resource[] java.util.List top int int org.eclipse.jetty.util.resource.Resource[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
ifnonnull 6
5: goto 11
6: StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection org.eclipse.jetty.util.resource.Resource[] java.util.List org.eclipse.jetty.util.resource.Resource int int org.eclipse.jetty.util.resource.Resource[]
StackMap stack:
aload 3
instanceof org.eclipse.jetty.util.resource.ResourceCollection
ifeq 9
7: aload 2
aload 3
checkcast org.eclipse.jetty.util.resource.ResourceCollection
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.getResources:()[Lorg/eclipse/jetty/util/resource/Resource;
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
8: goto 11
9: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourceValid:(Lorg/eclipse/jetty/util/resource/Resource;)V
10: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 11: StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection org.eclipse.jetty.util.resource.Resource[] java.util.List top int int org.eclipse.jetty.util.resource.Resource[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 5
if_icmplt 3
13: aload 0
aload 2
iconst_0
anewarray org.eclipse.jetty.util.resource.Resource
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.eclipse.jetty.util.resource.Resource[]
putfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
0 15 1 resources [Lorg/eclipse/jetty/util/resource/Resource;
2 15 2 list Ljava/util/List<Lorg/eclipse/jetty/util/resource/Resource;>;
4 11 3 r Lorg/eclipse/jetty/util/resource/Resource;
MethodParameters:
Name Flags
resources
public void <init>(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.eclipse.jetty.util.resource.Resource.<init>:()V
1: aload 1
ifnull 2
aload 1
arraylength
ifne 4
2: StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection java.lang.String[]
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
3: return
4: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 5: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 13
StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection java.lang.String[] java.util.ArrayList top int int java.lang.String[]
StackMap stack:
6: aload 6
iload 4
aaload
astore 3
start local 3 7: aload 3
ifnull 8
aload 3
invokevirtual java.lang.String.length:()I
ifne 9
8: StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection java.lang.String[] java.util.ArrayList java.lang.String int int java.lang.String[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "empty/null resource path not supported"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 3
invokestatic org.eclipse.jetty.util.resource.Resource.newResource:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
astore 7
start local 7 10: aload 0
aload 7
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourceValid:(Lorg/eclipse/jetty/util/resource/Resource;)V
11: aload 2
aload 7
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 3 12: iinc 4 1
StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection java.lang.String[] java.util.ArrayList top int int java.lang.String[]
StackMap stack:
13: iload 4
iload 5
if_icmplt 6
14: aload 2
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 17
15: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
16: return
17: StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection java.lang.String[] java.util.ArrayList
StackMap stack:
aload 0
aload 2
iconst_0
anewarray org.eclipse.jetty.util.resource.Resource
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.eclipse.jetty.util.resource.Resource[]
putfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
18: goto 23
19: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 3
start local 3 20: aload 3
athrow
end local 3 21: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 22: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 23: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
0 24 1 resources [Ljava/lang/String;
5 24 2 res Ljava/util/ArrayList<Lorg/eclipse/jetty/util/resource/Resource;>;
7 12 3 strResource Ljava/lang/String;
10 12 7 resource Lorg/eclipse/jetty/util/resource/Resource;
20 21 3 e Ljava/lang/RuntimeException;
22 23 3 e Ljava/lang/Exception;
Exception table:
from to target type
5 16 19 Class java.lang.RuntimeException
17 18 19 Class java.lang.RuntimeException
5 16 21 Class java.lang.Exception
17 18 21 Class java.lang.Exception
MethodParameters:
Name Flags
resources
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.eclipse.jetty.util.resource.Resource.<init>:()V
1: aload 0
aload 1
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.setResourcesAsCSV:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
0 3 1 csvResources Ljava/lang/String;
MethodParameters:
Name Flags
csvResources
public org.eclipse.jetty.util.resource.Resource[] getResources();
descriptor: ()[Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
public void setResources(org.eclipse.jetty.util.resource.Resource[]);
descriptor: ([Lorg/eclipse/jetty/util/resource/Resource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
arraylength
ifne 3
1: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
2: return
3: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 4: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 9
StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection org.eclipse.jetty.util.resource.Resource[] java.util.List top int int org.eclipse.jetty.util.resource.Resource[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 0
aload 3
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourceValid:(Lorg/eclipse/jetty/util/resource/Resource;)V
7: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 5
if_icmplt 5
10: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 13
11: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
12: return
13: StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection org.eclipse.jetty.util.resource.Resource[] java.util.List
StackMap stack:
aload 0
aload 2
iconst_0
anewarray org.eclipse.jetty.util.resource.Resource
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.eclipse.jetty.util.resource.Resource[]
putfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
0 15 1 resources [Lorg/eclipse/jetty/util/resource/Resource;
4 15 2 res Ljava/util/List<Lorg/eclipse/jetty/util/resource/Resource;>;
6 8 3 resource Lorg/eclipse/jetty/util/resource/Resource;
MethodParameters:
Name Flags
resources
public void setResourcesAsCSV(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "CSV String is null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.util.StringTokenizer
dup
aload 1
ldc ",;"
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 3: aload 2
invokevirtual java.util.StringTokenizer.countTokens:()I
istore 3
start local 3 4: iload 3
ifne 6
5: new java.lang.IllegalArgumentException
dup
ldc "ResourceCollection@setResourcesAsCSV(String) argument must be a string containing one or more comma-separated resource strings."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.util.StringTokenizer int
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 7: goto 14
8: StackMap locals: java.util.List
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 5
start local 5 9: aload 5
invokevirtual java.lang.String.length:()I
ifne 11
10: goto 14
11: StackMap locals: java.lang.String
StackMap stack:
aload 5
invokestatic org.eclipse.jetty.util.resource.Resource.newResource:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
astore 6
start local 6 12: aload 0
aload 6
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourceValid:(Lorg/eclipse/jetty/util/resource/Resource;)V
13: aload 4
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 14: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 8
15: aload 4
invokeinterface java.util.List.isEmpty:()Z
ifeq 18
16: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
17: return
18: StackMap locals:
StackMap stack:
aload 0
aload 4
iconst_0
anewarray org.eclipse.jetty.util.resource.Resource
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.eclipse.jetty.util.resource.Resource[]
putfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
19: goto 24
20: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 5
start local 5 21: aload 5
athrow
end local 5 22: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 23: new java.lang.RuntimeException
dup
aload 5
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 24: 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 25 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
0 25 1 csvResources Ljava/lang/String;
3 25 2 tokenizer Ljava/util/StringTokenizer;
4 25 3 len I
7 25 4 res Ljava/util/List<Lorg/eclipse/jetty/util/resource/Resource;>;
9 14 5 token Ljava/lang/String;
12 14 6 resource Lorg/eclipse/jetty/util/resource/Resource;
21 22 5 e Ljava/lang/RuntimeException;
23 24 5 e Ljava/lang/Exception;
Exception table:
from to target type
7 17 20 Class java.lang.RuntimeException
18 19 20 Class java.lang.RuntimeException
7 17 22 Class java.lang.Exception
18 19 22 Class java.lang.Exception
MethodParameters:
Name Flags
csvResources
public org.eclipse.jetty.util.resource.Resource addPath(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourcesSet:()V
1: aload 1
ifnonnull 3
2: new java.net.MalformedURLException
dup
invokespecial java.net.MalformedURLException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
ifeq 4
ldc "/"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: StackMap locals:
StackMap stack:
aload 0
areturn
5: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 6: aconst_null
astore 3
start local 3 7: iconst_0
istore 4
start local 4 8: goto 15
9: StackMap locals: org.eclipse.jetty.util.resource.Resource java.util.ArrayList int
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
iload 4
aaload
aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.addPath:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
astore 2
10: aload 2
invokevirtual org.eclipse.jetty.util.resource.Resource.exists:()Z
ifeq 14
11: aload 2
invokevirtual org.eclipse.jetty.util.resource.Resource.isDirectory:()Z
ifeq 13
12: goto 16
13: StackMap locals:
StackMap stack:
aload 2
areturn
14: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
arraylength
if_icmplt 9
16: StackMap locals:
StackMap stack:
iinc 4 1
goto 26
17: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
iload 4
aaload
aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.addPath:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
astore 5
start local 5 18: aload 5
invokevirtual org.eclipse.jetty.util.resource.Resource.exists:()Z
ifeq 25
aload 5
invokevirtual org.eclipse.jetty.util.resource.Resource.isDirectory:()Z
ifeq 25
19: aload 3
ifnonnull 21
20: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
21: StackMap locals: org.eclipse.jetty.util.resource.Resource
StackMap stack:
aload 2
ifnull 24
22: aload 3
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
23: aconst_null
astore 2
24: StackMap locals:
StackMap stack:
aload 3
aload 5
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 5 25: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
26: iload 4
aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
arraylength
if_icmplt 17
27: aload 2
ifnull 29
28: aload 2
areturn
29: StackMap locals:
StackMap stack:
aload 3
ifnull 31
30: new org.eclipse.jetty.util.resource.ResourceCollection
dup
aload 3
iconst_0
anewarray org.eclipse.jetty.util.resource.Resource
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.eclipse.jetty.util.resource.Resource[]
invokespecial org.eclipse.jetty.util.resource.ResourceCollection.<init>:([Lorg/eclipse/jetty/util/resource/Resource;)V
areturn
31: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
0 32 1 path Ljava/lang/String;
6 32 2 resource Lorg/eclipse/jetty/util/resource/Resource;
7 32 3 resources Ljava/util/ArrayList<Lorg/eclipse/jetty/util/resource/Resource;>;
8 32 4 i I
18 25 5 r Lorg/eclipse/jetty/util/resource/Resource;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
public boolean delete();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
Exceptions:
throws java.lang.SecurityException
public boolean exists();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourcesSet:()V
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
public java.io.File getFile();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourcesSet:()V
1: aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection top int int org.eclipse.jetty.util.resource.Resource[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.getFile:()Ljava/io/File;
astore 5
start local 5 4: aload 5
ifnull 6
5: aload 5
areturn
end local 5 end local 1 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 3
if_icmplt 2
8: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
3 6 1 r Lorg/eclipse/jetty/util/resource/Resource;
4 6 5 f Ljava/io/File;
Exceptions:
throws java.io.IOException
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourcesSet:()V
1: aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection top int int org.eclipse.jetty.util.resource.Resource[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.getInputStream:()Ljava/io/InputStream;
astore 5
start local 5 4: aload 5
ifnull 6
5: aload 5
areturn
end local 5 end local 1 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 3
if_icmplt 2
8: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
3 6 1 r Lorg/eclipse/jetty/util/resource/Resource;
4 6 5 is Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
public java.nio.channels.ReadableByteChannel getReadableByteChannel();
descriptor: ()Ljava/nio/channels/ReadableByteChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourcesSet:()V
1: aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection top int int org.eclipse.jetty.util.resource.Resource[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.getReadableByteChannel:()Ljava/nio/channels/ReadableByteChannel;
astore 5
start local 5 4: aload 5
ifnull 6
5: aload 5
areturn
end local 5 end local 1 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 3
if_icmplt 2
8: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
3 6 1 r Lorg/eclipse/jetty/util/resource/Resource;
4 6 5 channel Ljava/nio/channels/ReadableByteChannel;
Exceptions:
throws java.io.IOException
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourcesSet:()V
1: aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection top int int org.eclipse.jetty.util.resource.Resource[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.getName:()Ljava/lang/String;
astore 5
start local 5 4: aload 5
ifnull 6
5: aload 5
areturn
end local 5 end local 1 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 3
if_icmplt 2
8: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
3 6 1 r Lorg/eclipse/jetty/util/resource/Resource;
4 6 5 name Ljava/lang/String;
public java.net.URI getURI();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourcesSet:()V
1: aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection top int int org.eclipse.jetty.util.resource.Resource[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.getURI:()Ljava/net/URI;
astore 5
start local 5 4: aload 5
ifnull 6
5: aload 5
areturn
end local 5 end local 1 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 3
if_icmplt 2
8: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
3 6 1 r Lorg/eclipse/jetty/util/resource/Resource;
4 6 5 uri Ljava/net/URI;
public boolean isDirectory();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourcesSet:()V
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
public long lastModified();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourcesSet:()V
1: aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection top int int org.eclipse.jetty.util.resource.Resource[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.lastModified:()J
lstore 5
start local 5 4: lload 5
ldc -1
lcmp
ifeq 6
5: lload 5
lreturn
end local 5 end local 1 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 3
if_icmplt 2
8: ldc -1
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
3 6 1 r Lorg/eclipse/jetty/util/resource/Resource;
4 6 5 lm J
public long length();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc -1
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
public java.lang.String[] list();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourcesSet:()V
1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 2: aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection java.util.HashSet top int int org.eclipse.jetty.util.resource.Resource[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 1
aload 2
invokevirtual org.eclipse.jetty.util.resource.Resource.list:()[Ljava/lang/String;
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
end local 2 5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 3
7: aload 1
iconst_0
anewarray java.lang.String
invokevirtual java.util.HashSet.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 2
start local 2 8: aload 2
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;)V
9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
2 10 1 set Ljava/util/HashSet<Ljava/lang/String;>;
4 5 2 r Lorg/eclipse/jetty/util/resource/Resource;
8 10 2 result [Ljava/lang/String;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourcesSet:()V
1: aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: org.eclipse.jetty.util.resource.ResourceCollection top int int org.eclipse.jetty.util.resource.Resource[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.close:()V
end local 1 4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 2
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
3 4 1 r Lorg/eclipse/jetty/util/resource/Resource;
public boolean renameTo(org.eclipse.jetty.util.resource.Resource);
descriptor: (Lorg/eclipse/jetty/util/resource/Resource;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
0 1 1 dest Lorg/eclipse/jetty/util/resource/Resource;
Exceptions:
throws java.lang.SecurityException
MethodParameters:
Name Flags
dest
public void copyTo(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.ResourceCollection.assertResourcesSet:()V
1: aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
arraylength
istore 2
start local 2 2: goto 4
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
iload 2
aaload
aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.copyTo:(Ljava/io/File;)V
4: StackMap locals:
StackMap stack:
iload 2
iinc 2 -1
ifgt 3
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
0 6 1 destination Ljava/io/File;
2 5 2 r I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
destination
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
ifnull 1
aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
ldc "[]"
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
public boolean isContainedIn(org.eclipse.jetty.util.resource.Resource);
descriptor: (Lorg/eclipse/jetty/util/resource/Resource;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
0 1 1 r Lorg/eclipse/jetty/util/resource/Resource;
MethodParameters:
Name Flags
r
private void assertResourcesSet();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
ifnull 1
aload 0
getfield org.eclipse.jetty.util.resource.ResourceCollection._resources:[Lorg/eclipse/jetty/util/resource/Resource;
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "*resources* not set."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
private void assertResourceValid(org.eclipse.jetty.util.resource.Resource);
descriptor: (Lorg/eclipse/jetty/util/resource/Resource;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "Null resource not supported"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.exists:()Z
ifeq 3
aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.isDirectory:()Z
ifne 4
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is not an existing directory."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/resource/ResourceCollection;
0 5 1 resource Lorg/eclipse/jetty/util/resource/Resource;
MethodParameters:
Name Flags
resource
}
SourceFile: "ResourceCollection.java"