JavaDoc

qq_44284784 發表於 2020-10-18
package com.kuang.base;

/**
 * @author sjl
 * @version 1.0
 * @since 1.8
 */
public class Doc {
    String name;

    /**
     *
     * @param name
     * @return
     * @throws Exception
     */
    public String test(String name)throws Exception{
        return name;
    }
}

javadoc -Encoding UTF-8 -charset UTF-8 Doc.java