Package org.apache.bcel.util
Class AttributeHTML
java.lang.Object
org.apache.bcel.util.AttributeHTML
- All Implemented Interfaces:
Closeable
,AutoCloseable
Convert found attributes into HTML file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private final String
private final ConstantHTML
private final ConstantPool
private final PrintWriter
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeHTML
(String dir, String className, ConstantPool constantPool, ConstantHTML constantHtml, Charset charset) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private String
codeLink
(int link, int methodNumber) (package private) void
writeAttribute
(Attribute attribute, String anchor) (package private) void
writeAttribute
(Attribute attribute, String anchor, int methodNumber)
-
Field Details
-
className
-
printWriter
-
attrCount
private int attrCount -
constantHtml
-
constantPool
-
-
Constructor Details
-
AttributeHTML
AttributeHTML(String dir, String className, ConstantPool constantPool, ConstantHTML constantHtml, Charset charset) throws FileNotFoundException, UnsupportedEncodingException
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
codeLink
-
writeAttribute
-
writeAttribute
-