Class MethodHTML


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

      • className

        private final java.lang.String className
      • printWriter

        private final java.io.PrintWriter printWriter
    • Constructor Detail

      • MethodHTML

        MethodHTML​(java.lang.String dir,
                   java.lang.String className,
                   Method[] methods,
                   Field[] fields,
                   ConstantHTML constantHtml,
                   AttributeHTML attributeHtml,
                   java.nio.charset.Charset charset)
            throws java.io.FileNotFoundException,
                   java.io.UnsupportedEncodingException
        Throws:
        java.io.FileNotFoundException
        java.io.UnsupportedEncodingException
    • Method Detail

      • writeField

        private void writeField​(Field field)
        Print field of class.
        Parameters:
        field - field to print
      • writeMethod

        private void writeMethod​(Method method,
                                 int methodNumber)