LALA |
|
|||
日歷
導(dǎo)航留言簿(1)隨筆分類(31)
文章分類(4)收藏夾(21)搜索積分與排名
最新隨筆
最新評(píng)論
閱讀排行榜 |
javadoc.exe
用法:javadoc [options] [packagenames] [sourcefiles] [classnames] [@files] -overview <file> 讀取 HTML 格式的概述文檔 -public 僅顯示 public 類和成員 -protected 顯示 protected/public 類和成員(缺省) -package 顯示 package/protected/public 類和成員 -private 顯示所有類和成員 -help 顯示命令行選項(xiàng) -doclet <class> 通過候選 doclet 生成輸出 -docletpath <path> 指定 doclet 類文件的查找位置 -sourcepath <pathlist> 指定源文件的查找位置 -classpath <pathlist> 指定用戶類文件的查找位置 -exclude <pkglist> Specify a list of packages to exclude -subpackages <subpkglist> Specify subpackages to recursively load -breakiterator Compute 1st sentence with BreakIterator -bootclasspath <pathlist> 覆蓋自舉類加載器所加載的類文件的位置 -source <release> Provide source compatibility with specified release -extdirs <dirlist> 覆蓋已安裝的擴(kuò)展的位置 -verbose 有關(guān) Javadoc 所做工作的輸出信息 -locale <name> 所用的 Locale,例如 en_US 或 en_US_WIN -encoding <name> 源文件編碼名稱 -J<flag> 將 <flag> 直接傳給運(yùn)行時(shí)系統(tǒng) 由標(biāo)準(zhǔn) doclet 提供: -d <directory> 輸出文件的目標(biāo)目錄 -use 創(chuàng)建類和包的用法頁 -version 包含 @version 段 -author 包含 @author 段 -docfilessubdirs Recursively copy doc-file subdirectories -splitindex 將索引分為每個(gè)字母對(duì)應(yīng)一個(gè)文件 -windowtitle <text> 文檔的瀏覽器窗口標(biāo)題 -doctitle <html-code> 包含包索引頁(首頁)的標(biāo)題 -header <html-code> 包含每一頁的頁眉文本 -footer <html-code> 包含每一頁的頁腳文本 -bottom <html-code> 包含每一頁的頁底文本 -link <url> Create links to javadoc output at <url> -linkoffline <url> <url2> Link to docs at <url> using package list at <url2> -excludedocfilessubdir <name1>:.. Exclude any doc-files subdirectories with given name. -group <name> <p1>:<p2>.. Group specified packages together in overview page -nocomment Supress description and tags, generate only declarations. -nodeprecated 不包含 @deprecated 信息 -noqualifier <name1>:<name2>:... Exclude the list of qualifiers from the output. -nosince Do not include @since information -nodeprecatedlist 不生成不鼓勵(lì)使用的列表 -notree 不生成類層次 -noindex 不生成索引 -nohelp 不生成幫助鏈接 -nonavbar 不生成導(dǎo)航欄 -quiet Do not display status messages to screen -serialwarn Generate warning about @serial tag -tag <name>:<locations>:<header> Specify single argument custom tags -taglet The fully qualified name of Taglet to register -tagletpath The path to Taglets -charset <charset> Charset for cross-platform viewing of generated documentation. -helpfile <file> 包含幫助鏈接功能鏈接到目標(biāo)的文件 -linksource Generate source in HTML -stylesheetfile <path> 改變所生成文檔的樣式的文件 -docencoding <name> 輸出編碼名稱 javah.exe 用法:javah [options] <classes> 其中 [options] 包括: -help 打印該幫助信息 -classpath <path> 類的加載路徑 -bootclasspath <path> 自舉類的加載路徑 -d <dir> 輸出目錄 -o <file> 輸出文件(僅能使用 -d 或 -o 之一) -jni 生成 JNI 風(fēng)格的頭文件(缺省) -old 生成 JDK1.0 風(fēng)格的頭文件 -stubs 生成 stubs 文件 -version 打印版本信息 -verbose 輸出有關(guān)本命令所做工作的信息 -force 始終寫輸出文件 指定 <classes> 時(shí)必須使用全名(例如 java.lang.Object)。 HtmlConverter.exe 用法:HtmlConverter [-option1 value1 [-option2 value2 [...]]] [-simulate] [filespecs] 其中,選項(xiàng)包括: -source: 獲取源文件的路徑。 缺省值: <userdir> -dest: 寫入已轉(zhuǎn)換文件的路徑。 缺省值: <userdir> -backup: 寫備份文件的路徑。 缺省值: <dirname>_BAK -f: 強(qiáng)制覆寫備份文件。 -subdirs: 應(yīng)處理子目錄中的文件。 -template: 模板文件的路徑。 如果不確定,請(qǐng)使用缺省值。 -log: 寫日志的路徑。 如果沒有提供,則不會(huì)寫入任何日志。 -progress: 轉(zhuǎn)換時(shí)顯示進(jìn)度。 缺省值: true -simulate: 在沒有進(jìn)行轉(zhuǎn)換時(shí)顯示特定于轉(zhuǎn)換的信息。 -latest: 使用最新的 JRE 支持發(fā)行版 mimetype。 -gui: 顯示轉(zhuǎn)換程序的圖形用戶界面。 filespecs: 用空格分開的文件說明列表。 缺省值: "*.html *.htm" (需要引號(hào)) native2ascii 功能說明: 將含有本地編碼字符(既非 Latin1 又非 Unicode 字符)的文件轉(zhuǎn)換為 Unicode 編碼字符的文件。 語法: native2ascii [options] [inputfile [outputfile]] 補(bǔ)充說明: Java 編譯器和其它 Java 工具只能處理含有 Latin-1 和/或 Unicode 編碼(udddd 記號(hào))字符的文件。native2ascii 將含有其它字符編碼的文件轉(zhuǎn)換成含 Latin-1 和/或 Unicode 編碼字符的文件。若省略 outputfile,則使用標(biāo)準(zhǔn)輸出設(shè)備輸出。此外,如果也省略 inputfile,則使用標(biāo)準(zhǔn)輸入設(shè)備輸入。 命令選項(xiàng) -reverse 執(zhí)行相反的操作:將含 Latin-1 和/或 Unicode 編碼字符的文件轉(zhuǎn)換成含本地編碼字符的文件。 -encoding[encoding_name] 指定轉(zhuǎn)換過程使用的編碼名稱。缺省的編碼從系統(tǒng)屬性 file.encoding 中得到。 |
![]() |
|
Copyright © Dest | Powered by: 博客園 模板提供:滬江博客 |