JavaDoc生成文档

package github.demo01;

/**
 * @author subeiLY
 * @create 2021-05-26 10:20
 * @version 1.0
 * @since 1.8
 */
public class Doc {
    
    String name;

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

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

posted @ 2025-04-08 14:55  hwq1992  阅读(5)  评论(0)    收藏  举报