public class javax.swing.text.html.parser.ParserDelegator extends javax.swing.text.html.HTMLEditorKit$Parser implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.html.parser.ParserDelegator
super_class: javax.swing.text.html.HTMLEditorKit$Parser
{
private static final java.lang.Object DTD_KEY;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic javax.swing.text.html.parser.ParserDelegator.DTD_KEY:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
protected static synchronized void setDefaultDTD();
descriptor: ()V
flags: (0x002c) ACC_PROTECTED, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=0
0: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
astore 0
start local 0 1: aload 0
getstatic javax.swing.text.html.parser.ParserDelegator.DTD_KEY:Ljava/lang/Object;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.html.parser.DTD
astore 1
start local 1 2: aload 1
ifnonnull 11
3: aconst_null
astore 2
start local 2 4: ldc "html32"
astore 3
start local 3 5: aload 3
invokestatic javax.swing.text.html.parser.DTD.getDTD:(Ljava/lang/String;)Ljavax/swing/text/html/parser/DTD;
astore 2
6: goto 9
StackMap locals: sun.awt.AppContext javax.swing.text.html.parser.DTD javax.swing.text.html.parser.DTD java.lang.String
StackMap stack: java.io.IOException
7: pop
8: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Throw an exception: could not get default dtd: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 2
aload 3
invokestatic javax.swing.text.html.parser.ParserDelegator.createDTD:(Ljavax/swing/text/html/parser/DTD;Ljava/lang/String;)Ljavax/swing/text/html/parser/DTD;
astore 1
10: aload 0
getstatic javax.swing.text.html.parser.ParserDelegator.DTD_KEY:Ljava/lang/Object;
aload 1
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 12 0 appContext Lsun/awt/AppContext;
2 12 1 dtd Ljavax/swing/text/html/parser/DTD;
4 11 2 _dtd Ljavax/swing/text/html/parser/DTD;
5 11 3 nm Ljava/lang/String;
Exception table:
from to target type
5 6 7 Class java.io.IOException
protected static javax.swing.text.html.parser.DTD createDTD(javax.swing.text.html.parser.DTD, java.lang.String);
descriptor: (Ljavax/swing/text/html/parser/DTD;Ljava/lang/String;)Ljavax/swing/text/html/parser/DTD;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".bdtd"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 2: aload 3
invokestatic javax.swing.text.html.parser.ParserDelegator.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 2
3: aload 2
ifnull 9
4: aload 0
new java.io.DataInputStream
dup
new java.io.BufferedInputStream
dup
aload 2
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
invokevirtual javax.swing.text.html.parser.DTD.read:(Ljava/io/DataInputStream;)V
5: aload 1
aload 0
invokestatic javax.swing.text.html.parser.DTD.putDTDHash:(Ljava/lang/String;Ljavax/swing/text/html/parser/DTD;)V
end local 3 6: goto 9
StackMap locals: javax.swing.text.html.parser.DTD java.lang.String java.io.InputStream
StackMap stack: java.lang.Exception
7: astore 3
start local 3 8: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 3
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
end local 3 9: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 dtd Ljavax/swing/text/html/parser/DTD;
0 10 1 name Ljava/lang/String;
1 10 2 in Ljava/io/InputStream;
2 6 3 path Ljava/lang/String;
8 9 3 e Ljava/lang/Exception;
Exception table:
from to target type
1 6 7 Class java.lang.Exception
MethodParameters:
Name Flags
dtd
name
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.text.html.HTMLEditorKit$Parser.<init>:()V
1: invokestatic javax.swing.text.html.parser.ParserDelegator.setDefaultDTD:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/html/parser/ParserDelegator;
public void parse(java.io.Reader, javax.swing.text.html.HTMLEditorKit$ParserCallback, boolean);
descriptor: (Ljava/io/Reader;Ljavax/swing/text/html/HTMLEditorKit$ParserCallback;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new javax.swing.text.html.parser.DocumentParser
dup
invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
getstatic javax.swing.text.html.parser.ParserDelegator.DTD_KEY:Ljava/lang/Object;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.html.parser.DTD
invokespecial javax.swing.text.html.parser.DocumentParser.<init>:(Ljavax/swing/text/html/parser/DTD;)V
aload 1
aload 2
iload 3
invokevirtual javax.swing.text.html.parser.DocumentParser.parse:(Ljava/io/Reader;Ljavax/swing/text/html/HTMLEditorKit$ParserCallback;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/html/parser/ParserDelegator;
0 2 1 r Ljava/io/Reader;
0 2 2 cb Ljavax/swing/text/html/HTMLEditorKit$ParserCallback;
0 2 3 ignoreCharSet Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
r
cb
ignoreCharSet
static java.io.InputStream getResourceAsStream(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic javax.swing.text.html.parser.ResourceLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
pop
3: ldc Ljavax/swing/text/html/parser/ParserDelegator;
aload 0
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
name
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: invokestatic javax.swing.text.html.parser.ParserDelegator.setDefaultDTD:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/html/parser/ParserDelegator;
0 3 1 s Ljava/io/ObjectInputStream;
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
s
}
SourceFile: "ParserDelegator.java"
InnerClasses:
public abstract Parser = javax.swing.text.html.HTMLEditorKit$Parser of javax.swing.text.html.HTMLEditorKit
public ParserCallback = javax.swing.text.html.HTMLEditorKit$ParserCallback of javax.swing.text.html.HTMLEditorKit