Package org.apache.bcel.util
Class ConstantHTML
- java.lang.Object
-
- org.apache.bcel.util.ConstantHTML
-
final class ConstantHTML extends java.lang.ObjectConvert constant pool into HTML file.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringclassNameprivate java.lang.StringclassPackageprivate ConstantPoolconstantPoolprivate java.lang.String[]constantRefprivate Constant[]constantsprivate Method[]methodsprivate java.io.PrintWriterprintWriter
-
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 intgetMethodNumber(java.lang.String str)(package private) java.lang.StringreferenceConstant(int index)private voidwriteConstant(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.FileNotFoundExceptionjava.io.UnsupportedEncodingException
-
-