public class org.apache.tomcat.util.file.ConfigurationSource$Resource implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.file.ConfigurationSource$Resource
super_class: java.lang.Object
{
private final java.io.InputStream inputStream;
descriptor: Ljava/io/InputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.URI uri;
descriptor: Ljava/net/URI;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.io.InputStream, java.net.URI);
descriptor: (Ljava/io/InputStream;Ljava/net/URI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.tomcat.util.file.ConfigurationSource$Resource.inputStream:Ljava/io/InputStream;
2: aload 0
aload 2
putfield org.apache.tomcat.util.file.ConfigurationSource$Resource.uri:Ljava/net/URI;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/file/ConfigurationSource$Resource;
0 4 1 inputStream Ljava/io/InputStream;
0 4 2 uri Ljava/net/URI;
MethodParameters:
Name Flags
inputStream
uri
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.file.ConfigurationSource$Resource.inputStream:Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/file/ConfigurationSource$Resource;
public java.net.URI getURI();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.file.ConfigurationSource$Resource.uri:Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/file/ConfigurationSource$Resource;
public long getLastModified();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.file.ConfigurationSource$Resource.uri:Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
invokevirtual java.net.URLConnection.getLastModified:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/file/ConfigurationSource$Resource;
Exceptions:
throws java.net.MalformedURLException, java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.file.ConfigurationSource$Resource.inputStream:Ljava/io/InputStream;
ifnull 2
1: aload 0
getfield org.apache.tomcat.util.file.ConfigurationSource$Resource.inputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/file/ConfigurationSource$Resource;
Exceptions:
throws java.io.IOException
}
SourceFile: "ConfigurationSource.java"
NestHost: org.apache.tomcat.util.file.ConfigurationSource
InnerClasses:
public Resource = org.apache.tomcat.util.file.ConfigurationSource$Resource of org.apache.tomcat.util.file.ConfigurationSource