public class org.apache.tomcat.util.http.ConcurrentDateFormat
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.http.ConcurrentDateFormat
super_class: java.lang.Object
{
private final java.lang.String format;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Locale locale;
descriptor: Ljava/util/Locale;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.TimeZone timezone;
descriptor: Ljava/util/TimeZone;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Queue<java.text.SimpleDateFormat> queue;
descriptor: Ljava/util/Queue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Queue<Ljava/text/SimpleDateFormat;>;
public void <init>(java.lang.String, java.util.Locale, java.util.TimeZone);
descriptor: (Ljava/lang/String;Ljava/util/Locale;Ljava/util/TimeZone;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentLinkedQueue
dup
invokespecial java.util.concurrent.ConcurrentLinkedQueue.<init>:()V
putfield org.apache.tomcat.util.http.ConcurrentDateFormat.queue:Ljava/util/Queue;
2: aload 0
aload 1
putfield org.apache.tomcat.util.http.ConcurrentDateFormat.format:Ljava/lang/String;
3: aload 0
aload 2
putfield org.apache.tomcat.util.http.ConcurrentDateFormat.locale:Ljava/util/Locale;
4: aload 0
aload 3
putfield org.apache.tomcat.util.http.ConcurrentDateFormat.timezone:Ljava/util/TimeZone;
5: aload 0
invokevirtual org.apache.tomcat.util.http.ConcurrentDateFormat.createInstance:()Ljava/text/SimpleDateFormat;
astore 4
start local 4 6: aload 0
getfield org.apache.tomcat.util.http.ConcurrentDateFormat.queue:Ljava/util/Queue;
aload 4
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/http/ConcurrentDateFormat;
0 8 1 format Ljava/lang/String;
0 8 2 locale Ljava/util/Locale;
0 8 3 timezone Ljava/util/TimeZone;
6 8 4 initial Ljava/text/SimpleDateFormat;
MethodParameters:
Name Flags
format
locale
timezone
public java.lang.String format(java.util.Date);
descriptor: (Ljava/util/Date;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.http.ConcurrentDateFormat.queue:Ljava/util/Queue;
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast java.text.SimpleDateFormat
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 0
invokevirtual org.apache.tomcat.util.http.ConcurrentDateFormat.createInstance:()Ljava/text/SimpleDateFormat;
astore 2
3: StackMap locals: java.text.SimpleDateFormat
StackMap stack:
aload 2
aload 1
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
astore 3
start local 3 4: aload 0
getfield org.apache.tomcat.util.http.ConcurrentDateFormat.queue:Ljava/util/Queue;
aload 2
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/http/ConcurrentDateFormat;
0 6 1 date Ljava/util/Date;
1 6 2 sdf Ljava/text/SimpleDateFormat;
4 6 3 result Ljava/lang/String;
MethodParameters:
Name Flags
date
public java.util.Date parse(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.http.ConcurrentDateFormat.queue:Ljava/util/Queue;
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast java.text.SimpleDateFormat
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 0
invokevirtual org.apache.tomcat.util.http.ConcurrentDateFormat.createInstance:()Ljava/text/SimpleDateFormat;
astore 2
3: StackMap locals: java.text.SimpleDateFormat
StackMap stack:
aload 2
aload 1
invokevirtual java.text.SimpleDateFormat.parse:(Ljava/lang/String;)Ljava/util/Date;
astore 3
start local 3 4: aload 2
aload 0
getfield org.apache.tomcat.util.http.ConcurrentDateFormat.timezone:Ljava/util/TimeZone;
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
5: aload 0
getfield org.apache.tomcat.util.http.ConcurrentDateFormat.queue:Ljava/util/Queue;
aload 2
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/http/ConcurrentDateFormat;
0 7 1 source Ljava/lang/String;
1 7 2 sdf Ljava/text/SimpleDateFormat;
4 7 3 result Ljava/util/Date;
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
source
private java.text.SimpleDateFormat createInstance();
descriptor: ()Ljava/text/SimpleDateFormat;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.text.SimpleDateFormat
dup
aload 0
getfield org.apache.tomcat.util.http.ConcurrentDateFormat.format:Ljava/lang/String;
aload 0
getfield org.apache.tomcat.util.http.ConcurrentDateFormat.locale:Ljava/util/Locale;
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 1
start local 1 1: aload 1
aload 0
getfield org.apache.tomcat.util.http.ConcurrentDateFormat.timezone:Ljava/util/TimeZone;
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/ConcurrentDateFormat;
1 3 1 sdf Ljava/text/SimpleDateFormat;
}
SourceFile: "ConcurrentDateFormat.java"