Package org.apache.bcel.util
Class MethodHTML
java.lang.Object
org.apache.bcel.util.MethodHTML
Convert methods and fields into HTML file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AttributeHTMLprivate final Stringprivate final ConstantHTMLprivate final PrintWriter -
Constructor Summary
ConstructorsConstructorDescriptionMethodHTML(String dir, String className, Method[] methods, Field[] fields, ConstantHTML constantHtml, AttributeHTML attributeHtml, Charset charset) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidwriteField(Field field) Print field of class.private voidwriteMethod(Method method, int methodNumber)
-
Field Details
-
className
-
printWriter
-
constantHtml
-
attributeHtml
-
-
Constructor Details
-
MethodHTML
MethodHTML(String dir, String className, Method[] methods, Field[] fields, ConstantHTML constantHtml, AttributeHTML attributeHtml, Charset charset) throws FileNotFoundException, UnsupportedEncodingException
-
-
Method Details
-
writeField
Print field of class.- Parameters:
field- field to print
-
writeMethod
-