Package org.apache.bcel.util
Class ConstantHTML
- java.lang.Object
-
- org.apache.bcel.util.ConstantHTML
-
final class ConstantHTML extends java.lang.Object
Convert constant pool into HTML file.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
className
private java.lang.String
classPackage
private ConstantPool
constantPool
private java.lang.String[]
constantRef
private Constant[]
constants
private Method[]
methods
private java.io.PrintWriter
printWriter
-
Constructor Summary
Constructors Constructor Description ConstantHTML(java.lang.String dir, java.lang.String className, java.lang.String classPackage, Method[] methods, ConstantPool constantPool, java.nio.charset.Charset charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
getMethodNumber(java.lang.String str)
(package private) java.lang.String
referenceConstant(int index)
private void
writeConstant(int index)
-
-
-
Field Detail
-
className
private final java.lang.String className
-
classPackage
private final java.lang.String classPackage
-
constantPool
private final ConstantPool constantPool
-
printWriter
private final java.io.PrintWriter printWriter
-
constantRef
private final java.lang.String[] constantRef
-
constants
private final Constant[] constants
-
methods
private final Method[] methods
-
-
Constructor Detail
-
ConstantHTML
ConstantHTML(java.lang.String dir, java.lang.String className, java.lang.String classPackage, Method[] methods, ConstantPool constantPool, java.nio.charset.Charset charset) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException
- Throws:
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
-
-