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 AttributeHTML
private final String
private final ConstantHTML
private final PrintWriter
-
Constructor Summary
ConstructorsConstructorDescriptionMethodHTML
(String dir, String className, Method[] methods, Field[] fields, ConstantHTML constantHtml, AttributeHTML attributeHtml, Charset charset) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
writeField
(Field field) Print field of class.private void
writeMethod
(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
-