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.CloseableConvert found attributes into HTML file.
-
-
Field Summary
Fields Modifier and Type Field Description private intattrCountprivate java.lang.StringclassNameprivate ConstantHTMLconstantHtmlprivate ConstantPoolconstantPoolprivate java.io.PrintWriterprintWriter
-
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 voidclose()private java.lang.StringcodeLink(int link, int methodNumber)(package private) voidwriteAttribute(Attribute attribute, java.lang.String anchor)(package private) voidwriteAttribute(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.FileNotFoundExceptionjava.io.UnsupportedEncodingException
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein 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)
-
-