利用JAVADOC 可以生成API帮助文档 例:
javadoc.exe" -protected -splitindex -use -author -version -encoding UTF-8 -charset UTF-8 @C:\Users\pzf\AppData\Local\Temp\javadoc2args.txt -d D:\exportToHTML
其中文件C:\Users\pzf\AppData\Local\Temp\javadoc2args.txt 里包含所有源代码路劲
"D:/JavaProject/FileScan/src/WatchFile.java"
"D:/JavaProject/FileScan/src/DirFileAttributePickInterface.java"
"D:/JavaProject/FileScan/src/SystemInfo.java"
"D:/JavaProject/FileScan/src/FileAttribute.java"
"D:/JavaProject/FileScan/src/FileInfoView.java"
"D:/JavaProject/FileScan/src/ConcurrentTotalFileSize.java"
"D:/JavaProject/FileScan/src/DirFileNameManage.java"
"D:/JavaProject/FileScan/src/Main.java"
-sourcepath
"D:/JavaProject/FileScan/src"
-encoding UTF-8 -charset UTF-8 防止中文注释出错