Class MethodHTML


  • final class MethodHTML
    extends java.lang.Object
    Convert methods and fields into HTML file.
    • Field Detail

      • class_name

        private final java.lang.String class_name
      • file

        private final java.io.PrintWriter file
    • Constructor Detail

      • MethodHTML

        MethodHTML​(java.lang.String dir,
                   java.lang.String class_name,
                   Method[] methods,
                   Field[] fields,
                   ConstantHTML constant_html,
                   AttributeHTML attribute_html)
            throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • writeField

        private void writeField​(Field field)
                         throws java.io.IOException
        Print field of class.
        Parameters:
        field - field to print
        Throws:
        java.io.IOException
      • writeMethod

        private void writeMethod​(Method method,
                                 int method_number)