Package org.apache.bcel.util
Class AttributeHTML
- java.lang.Object
-
- org.apache.bcel.util.AttributeHTML
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
final class AttributeHTML extends java.lang.Object implements java.io.Closeable
Convert found attributes into HTML file.
-
-
Field Summary
Fields Modifier and Type Field Description private int
attrCount
private java.lang.String
className
private ConstantHTML
constantHtml
private ConstantPool
constantPool
private java.io.PrintWriter
printWriter
-
Constructor Summary
Constructors Constructor Description AttributeHTML(java.lang.String dir, java.lang.String className, ConstantPool constantPool, ConstantHTML constantHtml, java.nio.charset.Charset charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
private java.lang.String
codeLink(int link, int methodNumber)
(package private) void
writeAttribute(Attribute attribute, java.lang.String anchor)
(package private) void
writeAttribute(Attribute attribute, java.lang.String anchor, int methodNumber)
-
-
-
Field Detail
-
className
private final java.lang.String className
-
printWriter
private final java.io.PrintWriter printWriter
-
attrCount
private int attrCount
-
constantHtml
private final ConstantHTML constantHtml
-
constantPool
private final ConstantPool constantPool
-
-
Constructor Detail
-
AttributeHTML
AttributeHTML(java.lang.String dir, java.lang.String className, ConstantPool constantPool, ConstantHTML constantHtml, java.nio.charset.Charset charset) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException
- Throws:
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
codeLink
private java.lang.String codeLink(int link, int methodNumber)
-
writeAttribute
void writeAttribute(Attribute attribute, java.lang.String anchor)
-
writeAttribute
void writeAttribute(Attribute attribute, java.lang.String anchor, int methodNumber)
-
-